mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
cmake sharedlib:add -Wall flag
This commit is contained in:
@@ -7,7 +7,7 @@ add_definitions("-DDATADIR=${INSTALL_DIR_DATA}")
|
|||||||
|
|
||||||
# On Travis, the build fails on osx and Ubuntu trusty using
|
# On Travis, the build fails on osx and Ubuntu trusty using
|
||||||
# clang 5.0 unless the -std=c++11 if used
|
# clang 5.0 unless the -std=c++11 if used
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
|
||||||
|
|
||||||
if(WANT_USE_STREFLOP)
|
if(WANT_USE_STREFLOP)
|
||||||
# IMPORTANT: should come BEFORE finding packages
|
# IMPORTANT: should come BEFORE finding packages
|
||||||
|
Reference in New Issue
Block a user