]> git.mxchange.org Git - simgear.git/blobdiff - CMakeLists.txt
Compile fix: add this-> in SGExpression.hxx due to two-phase name lookup (reported...
[simgear.git] / CMakeLists.txt
index 63384bf6b3db61508b40e4dbb4976c421b093182..922d653ff86fca7b49cf322f65c9b6f31cb8fa10 100644 (file)
@@ -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(