Explorar o código

make the include of the initial config flags optional, for builds that do not use configure

Bill Hoffman %!s(int64=24) %!d(string=hai) anos
pai
achega
f5d7994856
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -4,7 +4,7 @@ SUBDIRS(Source Modules Templates)
 
 # Include the standard Dart testing module
 INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
-INCLUDE (${CMAKE_BINARY_DIR}/Source/InitialConfigureFlags.cmake)
+INCLUDE (OPTIONAL ${CMAKE_BINARY_DIR}/Source/InitialConfigureFlags.cmake)
 IF(CMAKE_CONFIGURE_INSTALL_PREFIX)
   SET(CMAKE_INSTALL_PREFIX ${CMAKE_CONFIGURE_INSTALL_PREFIX} )
 ENDIF(CMAKE_CONFIGURE_INSTALL_PREFIX)