Permalink
Browse files

Minor refactoring of CMakeLists.txt

  • Loading branch information...
1 parent e3e1965 commit 5858087ba6055a8f8406f89a8b738b12228003f2 @navzam navzam committed Aug 12, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 CMakeLists.txt
View
@@ -30,8 +30,8 @@ qt4_add_resources(computer_SRCS_CXX ${computer_QRC_FILES})
if(WIN32)
include_directories(${CMAKE_SOURCE_DIR}/../prefix/include)
- link_directories(${CMAKE_SOURCE_DIR}/../prefix/lib)
include_directories(${CMAKE_SOURCE_DIR}/../opencv/kiss-prefix/include)
+ link_directories(${CMAKE_SOURCE_DIR}/../prefix/lib)
link_directories(${CMAKE_SOURCE_DIR}/../opencv/kiss-prefix/lib)
endif()
@@ -52,12 +52,12 @@ endif()
set(EXECUTABLE_OUTPUT_PATH ${computer_SOURCE_DIR}/deploy)
set(LIBRARY_OUTPUT_PATH ${computer_SOURCE_DIR}/lib)
-target_link_libraries(computer ${QT_LIBRARIES} pcompiler kovanserial kar kovan )
+target_link_libraries(computer ${QT_LIBRARIES} pcompiler kovanserial kar kovan)
-if(NOT WIN32)
- target_link_libraries(computer opencv_core opencv_imgproc)
-else()
+if(WIN32)
target_link_libraries(computer opencv_core249 opencv_imgproc249)
+else()
+ target_link_libraries(computer opencv_core opencv_imgproc)
endif()
macro(copy_files NAME FILES DESTINATION)

0 comments on commit 5858087

Please sign in to comment.