Quellcode durchsuchen

clean up some c/cxx issues

Bill Hoffman vor 23 Jahren
Ursprung
Commit
bdaf74b561
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Modules/Platform/SunOS.cmake

+ 1 - 1
Modules/Platform/SunOS.cmake

@@ -15,7 +15,7 @@ IF(CMAKE_SYSTEM MATCHES "SunOS-5*.")
     SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -nostdlib")
     SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-R,")
     SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":")  
-  ENDIF(CMAKE_COMPILER_IS_GNUCXX)
+  ENDIF(CMAKE_COMPILER_IS_GNUCC)
   IF(CMAKE_COMPILER_IS_GNUCXX)
     SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-fPIC") 
     SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared -nostdlib")