Browse Source

BUG: Due to backward ordering, Visual Studio GUIs need the link directories for the libraries the first time.

Brad King 22 years ago
parent
commit
3b5139a3d8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Tests/Jump/Executable/CMakeLists.txt

+ 4 - 0
Tests/Jump/Executable/CMakeLists.txt

@@ -1,2 +1,6 @@
+IF(NOT LIBRARY_OUTPUT_PATH)
+  LINK_DIRECTORIES(${Jump_BINARY_DIR}/Library/Static
+                   ${Jump_BINARY_DIR}/Library/Shared)
+ENDIF(NOT LIBRARY_OUTPUT_PATH)
 ADD_EXECUTABLE(jumpExecutable jumpExecutable.cxx)
 TARGET_LINK_LIBRARIES(jumpExecutable jumpStatic jumpShared)