Skip to content
Snippets Groups Projects
Commit 8090f9bf authored by Julien Malik's avatar Julien Malik
Browse files

COMP: fix CMakeLists

parent cb131a12
No related branches found
No related tags found
No related merge requests found
......@@ -59,9 +59,9 @@ if ( WRAP_PYTHON )
# Run swig
set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_GLOBAL_FLAGS})
set(CMAKE_SWIG_OUTDIR ${CMAKE_CURRENT_BINARY_DIR})
set(SWIG_MODULE_otbApplication_EXTRA_DEPS OTBWrapperCore ${SWIG_HEADERS})
set(SWIG_MODULE_otbApplication_EXTRA_DEPS OTBApplicationEngine ${SWIG_HEADERS})
SWIG_add_module ( otbApplication python otbApplication.i otbApplicationPYTHON_wrap.cxx )
SWIG_link_libraries ( otbApplication ${PYTHON_LIBRARIES} OTBWrapperCore)
SWIG_link_libraries ( otbApplication ${PYTHON_LIBRARIES} OTBApplicationEngine)
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/otbApplicationPYTHON_wrap.cxx COMPILE_FLAGS "-w")
endif()
......
set(CXX_TEST_PATH ${EXECUTABLE_OUTPUT_PATH})
set(INPUTDATA ${OTB_DATA_ROOT}/Input)
set(TEMP ${OTB-Wrapper_BINARY_DIR}/Testing/Temporary)
set(TEMP ${OTB_BINARY_DIR}/Testing/Temporary)
if(WIN32)
add_definitions(-DWIN32)
......@@ -165,4 +165,4 @@ otbWrapperStringListParameterTest.cxx
include_directories(${CMAKE_SOURCE_DIR}/Code/Core)
add_executable(otbWrapperTests ${Wrapper_SRCS})
target_link_libraries(otbWrapperTests OTBIO OTBCommon ITKIO ITKCommon OTBTesting OTBWrapperCore)
target_link_libraries(otbWrapperTests OTBApplicationEngine OTBTesting)
......@@ -10,7 +10,7 @@ if ( WRAP_JAVA )
endif ()
if ( WRAP_QT )
add_subdirectory(QtWidget)
add_subdirectory(Qt)
endif ()
if ( WRAP_PYQT )
......
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