Skip to content
Snippets Groups Projects
Commit 001d7b6f authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: use cmake's $<TARGET_FILE_DIR: to 'assume' library output directory

parent 45061657
No related branches found
No related tags found
No related merge requests found
......@@ -174,6 +174,6 @@ otb_add_test(NAME owTuDocExampleStructureNew COMMAND otbApplicationEngineTestDri
)
otb_add_test(NAME owTvApplicationMemoryConnectTest COMMAND otbApplicationEngineTestDriver otbApplicationMemoryConnectTest
${CMAKE_BINARY_DIR}/lib/otb/applications
$<TARGET_FILE_DIR:otbapp_Smoothing>
${INPUTDATA}/poupees.tif
${TEMP}/owTvApplicationMemoryConnectTestOutput.tif)
......@@ -5,9 +5,9 @@ set(TEST_DRIVER otbTestDriver
if(WIN32)
# on windows, loading the module _otbApplication requires the otbossimplugins*.dll
# which is in the 'bin' folder
# which is in the 'bin/<CMAKE_BUILD_TYPE>' folder
set(TEST_DRIVER ${TEST_DRIVER}
--add-before-env PATH ${OTB_BINARY_DIR}/bin)
--add-before-env PATH $<TARGET_FILE_DIR:OTBCommon>)
endif(WIN32)
add_test( NAME pyTvSmoothing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment