]> Creatis software - FrontAlgorithms.git/commitdiff
...
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Sun, 13 Sep 2015 13:07:46 +0000 (15:07 +0200)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Sun, 13 Sep 2015 13:07:46 +0000 (15:07 +0200)
cmake/FrontAlgorithmsConfig.cmake.in

index 9b6f14b6f9fc79b8cfc609e1d23994da7c8d664a..c22d4ae264fa694e8bcd057802522f5631f61488 100644 (file)
@@ -12,11 +12,19 @@ INCLUDE_DIRECTORIES(
 # -- Library directories --
 # =========================
 
-LINK_DIRECTORIES(
-  @PROJECT_BINARY_DIR@
-  @CMAKE_INSTALL_PREFIX@/bin
-  @CMAKE_INSTALL_PREFIX@/lib
-  )
+IF(MSVC)
+  LINK_DIRECTORIES(
+    @PROJECT_BINARY_DIR@/$(ConfigurationName)
+    @CMAKE_INSTALL_PREFIX@/bin
+    @CMAKE_INSTALL_PREFIX@/lib
+    )
+ELSE(MSVC)
+  LINK_DIRECTORIES(
+    @PROJECT_BINARY_DIR@
+    @CMAKE_INSTALL_PREFIX@/bin
+    @CMAKE_INSTALL_PREFIX@/lib
+    )
+ENDIF(MSVC)
 
 # ===================
 # -- Library names --