summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-01-24 17:52:14 (GMT)
committerBrad King <brad.king@kitware.com>2004-01-24 17:52:14 (GMT)
commit3b5139a3d86fc3e37289c5fbe58483838520924f (patch)
tree73daacbcca488ad8cd04c15063462362dd6520d1
parenta588dbcba1f245dcf6ea33abb1e5ec50088bb09e (diff)
downloadCMake-3b5139a3d86fc3e37289c5fbe58483838520924f.zip
CMake-3b5139a3d86fc3e37289c5fbe58483838520924f.tar.gz
CMake-3b5139a3d86fc3e37289c5fbe58483838520924f.tar.bz2
BUG: Due to backward ordering, Visual Studio GUIs need the link directories for the libraries the first time.
-rw-r--r--Tests/Jump/Executable/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/Jump/Executable/CMakeLists.txt b/Tests/Jump/Executable/CMakeLists.txt
index 032c212..7658b7e 100644
--- a/Tests/Jump/Executable/CMakeLists.txt
+++ b/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)