X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=CMakeLists.txt;h=922d653ff86fca7b49cf322f65c9b6f31cb8fa10;hb=bcf7ed501d02d57cc8038c270db380a01a23da72;hp=fbf5185c0b6ec8749cd6a4f73d23cdd133b565ac;hpb=25918b8b768f49201e4eaebe3447d6cd87f15635;p=simgear.git diff --git a/CMakeLists.txt b/CMakeLists.txt index fbf5185c..922d653f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,7 +130,7 @@ check_function_exists(gettimeofday HAVE_GETTIMEOFDAY) check_function_exists(ftime HAVE_FTIME) check_function_exists(timegm HAVE_TIMEGM) check_function_exists(rint HAVE_RINT) - +check_function_exists(mkdtemp HAVE_MKDTEMP) if(HAVE_UNISTD_H) set(CMAKE_REQUIRED_INCLUDES ${CMAKE_INCLUDE_PATH}) @@ -158,8 +158,8 @@ endif(HAVE_CLOCK_GETTIME) SET(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "add a postfix, usually d on windows") SET(CMAKE_RELEASE_POSTFIX "" CACHE STRING "add a postfix, usually empty on windows") -SET(CMAKE_RELWITHDEBINFO_POSTFIX "rd" CACHE STRING "add a postfix, usually empty on windows") -SET(CMAKE_MINSIZEREL_POSTFIX "s" CACHE STRING "add a postfix, usually empty on windows") +SET(CMAKE_RELWITHDEBINFO_POSTFIX "" CACHE STRING "add a postfix, usually empty on windows") +SET(CMAKE_MINSIZEREL_POSTFIX "" CACHE STRING "add a postfix, usually empty on windows") # isnan might not be real symbol, so can't check using function_exists check_cxx_source_compiles(