This commit is contained in:
1 file changed
+4
@@ -17,6 +17,10 @@ if (WINDOWS)
|
||||
ADD_DEFINITIONS(-D WINDOWS=1)
|
||||
endif (WINDOWS)
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
add_compile_options(-Wno-error=cast-function-type)
|
||||
endif ()
|
||||
|
||||
message(STATUS "Using:
|
||||
\t C ${CMAKE_C_COMPILER}
|
||||
\t C++ ${CMAKE_CXX_COMPILER}
|
||||
|
||||
Reference in new issue
Block a user