Преглед на файлове

Merge pull request #3903 from ogjamesfranco/cached_output_directory_vars

Change the Assimp output directory vars to cached vars
Kim Kulling преди 4 години
родител
ревизия
d4199ee968
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      CMakeLists.txt

+ 3 - 3
CMakeLists.txt

@@ -334,9 +334,9 @@ INCLUDE (FindPkgMacros)
 INCLUDE (PrecompiledHeader)
 INCLUDE (PrecompiledHeader)
 
 
 # Set Assimp project output directory variables.
 # Set Assimp project output directory variables.
-SET(ASSIMP_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin")
-SET(ASSIMP_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin")
-SET(ASSIMP_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib")
+SET(ASSIMP_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin" CACHE STRING "Path for runtime output files")
+SET(ASSIMP_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin" CACHE STRING "Path for library output files")
+SET(ASSIMP_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib" CACHE STRING "Path for archive output files")
 
 
 # Macro used to set the output directories of a target to the
 # Macro used to set the output directories of a target to the
 # respective Assimp output directories.
 # respective Assimp output directories.