Browse Source

BUG: force EXECUABLE and LIBRARY output paths so bad cache entries do not fail tests

Bill Hoffman 20 years ago
parent
commit
9d0f86d7d0
2 changed files with 4 additions and 4 deletions
  1. 2 2
      Tests/CustomCommand/CMakeLists.txt
  2. 2 2
      Tests/Wrapping/CMakeLists.txt

+ 2 - 2
Tests/CustomCommand/CMakeLists.txt

@@ -7,11 +7,11 @@ PROJECT (CustomCommand)
 # Lib and exe path
 #
 SET (LIBRARY_OUTPUT_PATH 
-  ${PROJECT_BINARY_DIR}/bin/ CACHE PATH 
+  ${PROJECT_BINARY_DIR}/bin/ CACHE INTERNAL 
   "Single output directory for building all libraries.")
 
 SET (EXECUTABLE_OUTPUT_PATH 
-  ${PROJECT_BINARY_DIR}/bin/ CACHE PATH 
+  ${PROJECT_BINARY_DIR}/bin/ CACHE INTERNAL 
   "Single output directory for building all executables.")
 
 ################################################################

+ 2 - 2
Tests/Wrapping/CMakeLists.txt

@@ -11,11 +11,11 @@ SET_DIRECTORY_PROPERTIES(PROPERTIES CLEAN_NO_CUSTOM 1)
 # Lib and exe path
 #
 SET (LIBRARY_OUTPUT_PATH 
-  ${Wrapping_BINARY_DIR}/bin/ CACHE PATH 
+  ${Wrapping_BINARY_DIR}/bin/ CACHE INTERNAL 
   "Single output directory for building all libraries.")
 
 SET (EXECUTABLE_OUTPUT_PATH 
-  ${Wrapping_BINARY_DIR}/bin/ CACHE PATH 
+  ${Wrapping_BINARY_DIR}/bin/ CACHE INTERNAL 
   "Single output directory for building all executables.")
 
 #