COMP: Need to enable ansi C features.
This commit is contained in:
parent
07b9423e7d
commit
b3a05f57dd
@ -5,6 +5,11 @@ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${Plugin_BINARY_DIR}/bin)
|
||||
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${Plugin_BINARY_DIR}/lib/plugin)
|
||||
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${Plugin_BINARY_DIR}/lib/static)
|
||||
|
||||
# We need ansi C support.
|
||||
IF(CMAKE_ANSI_CFLAGS)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
|
||||
ENDIF(CMAKE_ANSI_CFLAGS)
|
||||
|
||||
# We need the dynamic loader support from KWSys to load the plugin in
|
||||
# the executable.
|
||||
SET(KWSYS_NAMESPACE kwsys)
|
||||
|
Loading…
x
Reference in New Issue
Block a user