X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=CMakeLists.txt;h=922d653ff86fca7b49cf322f65c9b6f31cb8fa10;hb=bcf7ed501d02d57cc8038c270db380a01a23da72;hp=63384bf6b3db61508b40e4dbb4976c421b093182;hpb=b7173100c8dbbfa4e75216d764467ee1a01c34ee;p=simgear.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 63384bf6..922d653f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,14 +123,14 @@ check_include_file(windows.h HAVE_WINDOWS_H) if(ENABLE_RTI) # See if we have any rti library variant installed -find_package(RTI) + find_package(RTI) endif(ENABLE_RTI) 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(