]> git.lizzy.rs Git - nothing.git/commitdiff
(#910) CMAKE_CXX_COMPILER_ID -> CMAKE_C_COMPILER_ID
authorrexim <reximkut@gmail.com>
Sat, 6 Jul 2019 17:06:17 +0000 (00:06 +0700)
committerrexim <reximkut@gmail.com>
Sat, 6 Jul 2019 17:06:17 +0000 (00:06 +0700)
CMakeLists.txt

index c6329b4398a1c5197de32ac2563697df9376c43d..d4f8445c856dc90fbf791644ce087bb8022b4bdc 100644 (file)
@@ -179,7 +179,7 @@ add_executable(nothing_test
   )
 target_link_libraries(nothing_test ${SDL2_LIBRARIES} system ebisp)
 
-if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "CLANG"))
+if(("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") OR ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang"))
   set(CMAKE_C_FLAGS
     "${CMAKE_C_FLAGS} \
      -Wall \