diff --git a/Templates/CMakeBorlandWindowsSystemConfig.cmake b/Templates/CMakeBorlandWindowsSystemConfig.cmake index 26832ce89..af2cf1a8b 100644 --- a/Templates/CMakeBorlandWindowsSystemConfig.cmake +++ b/Templates/CMakeBorlandWindowsSystemConfig.cmake @@ -1,4 +1,5 @@ -# microsoft specific config file +# borland specific configure file +# NOTE: all entries in here MUST be CACHE values, regular SET will NOT WORK! FIND_PATH(BCB_BIN_PATH bcc32.exe "C:/Program Files/Borland/CBuilder5/Bin" @@ -7,13 +8,7 @@ FIND_PATH(BCB_BIN_PATH bcc32.exe [HKEY_LOCAL_MACHINE/SOFTWARE/Borland/C++Builder/5.0/RootDir]/Bin ) -SET (BORLAND 1) - -SET (WORDS_BIGENDIAN ) - -SET (HAVE_LIMITS_H 1) - -SET (HAVE_UNISTD_H 1) +SET (BORLAND 1 CACHE INTERNAL "This is the borland generator") SET (CMAKE_C_COMPILER ${BCB_BIN_PATH}/bcc32 CACHE FILEPATH "Name of C compiler used.") diff --git a/Templates/CMakeNMakeWindowsSystemConfig.cmake b/Templates/CMakeNMakeWindowsSystemConfig.cmake index dc124078c..a960f7c8d 100644 --- a/Templates/CMakeNMakeWindowsSystemConfig.cmake +++ b/Templates/CMakeNMakeWindowsSystemConfig.cmake @@ -1,10 +1,6 @@ # Microsoft specific config file +# NOTE: all entries in here MUST be CACHE values, regular SET will NOT WORK! -SET (WORDS_BIGENDIAN ) - -SET (HAVE_LIMITS_H 1) - -SET (HAVE_UNISTD_H 1) # Suffixes diff --git a/Templates/CMakeWindowsSystemConfig.cmake b/Templates/CMakeWindowsSystemConfig.cmake index d945b0fc7..7892a8968 100644 --- a/Templates/CMakeWindowsSystemConfig.cmake +++ b/Templates/CMakeWindowsSystemConfig.cmake @@ -1,10 +1,5 @@ # Microsoft specific config file -SET (WORDS_BIGENDIAN ) - -SET (HAVE_LIMITS_H 1) - -SET (HAVE_UNISTD_H 1) SET (CMAKE_CXX_COMPILER cl CACHE STRING "Name of C++ compiler used.")