1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2024-11-14 04:43:21 +00:00

Test de nouvelles règles pour cmake

This commit is contained in:
Antoine Bartuccio 2018-06-10 00:09:20 +02:00
parent 924142e8d5
commit dd297cee99
Signed by: klmp200
GPG Key ID: E7245548C53F904B

View File

@ -4,7 +4,7 @@ project(LO41 C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wextra -Wshadow -fpic")
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
if(CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
endif()