From 6ce8b93cb3c8a91ca15bf1032739464444cf684f Mon Sep 17 00:00:00 2001 From: Andrey Pavlenko Date: Wed, 11 May 2011 15:39:09 +0000 Subject: [PATCH] Fixing build for Android --- modules/haartraining/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/haartraining/CMakeLists.txt b/modules/haartraining/CMakeLists.txt index 65a32ea871..ba36b7ec9b 100644 --- a/modules/haartraining/CMakeLists.txt +++ b/modules/haartraining/CMakeLists.txt @@ -82,7 +82,7 @@ set_target_properties(opencv_performance PROPERTIES install(TARGETS opencv_haartraining RUNTIME DESTINATION bin COMPONENT main) install(TARGETS opencv_createsamples RUNTIME DESTINATION bin COMPONENT main) install(TARGETS opencv_performance RUNTIME DESTINATION bin COMPONENT main) -endif() + if(SOLUTION_FOLDERS_ENABLED) set_target_properties(opencv_performance PROPERTIES FOLDER "applications") @@ -90,3 +90,5 @@ if(SOLUTION_FOLDERS_ENABLED) set_target_properties(opencv_haartraining PROPERTIES FOLDER "applications") set_target_properties(opencv_haartraining_engine PROPERTIES FOLDER "applications") endif() + +endif() \ No newline at end of file