Hardly refactored CMake script for Java wrappers

This commit is contained in:
Andrey Kamaev
2013-01-22 17:56:04 +04:00
parent c92743d124
commit 46c4390a2e
10 changed files with 238 additions and 208 deletions

View File

@@ -80,6 +80,10 @@ set_target_properties(${the_module} PROPERTIES
OUTPUT_NAME cv2
SUFFIX ${CVPY_SUFFIX})
if(ENABLE_SOLUTION_FOLDERS)
set_target_properties(${the_module} PROPERTIES FOLDER "bindings")
endif()
if(CMAKE_COMPILER_IS_GNUCXX AND NOT ENABLE_NOISY_WARNINGS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-function")
endif()