CMakeLists.txt
changeset 8068 b35427506169
parent 8055 04dd8b7fb605
child 8073 5a289ef40fdb
--- a/CMakeLists.txt	Mon Nov 19 17:41:09 2012 +0400
+++ b/CMakeLists.txt	Mon Nov 19 13:21:20 2012 +0100
@@ -208,7 +208,10 @@
 endif()
 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
 set(LIBRARY_OUTPUT_PATH ${EXECUTABLE_OUTPUT_PATH})
-
+if(WIN32)
+    set(CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/misc/winutils/")
+    link_directories("${EXECUTABLE_OUTPUT_PATH}" "${CMAKE_SOURCE_DIR}/misc/winutils/bin")
+endif(WIN32)
 
 #server discovery
 if(NOT NOSERVER)