fix(CMakeLists.txt): warning on OSX
This commit is contained in:
parent
d636b34c1c
commit
4905233eb2
1 changed files with 2 additions and 2 deletions
|
@ -328,8 +328,8 @@ set(LEAN_LIBS ${LEAN_LIBS} leanlua)
|
||||||
add_subdirectory(init)
|
add_subdirectory(init)
|
||||||
set(LEAN_LIBS ${LEAN_LIBS} init)
|
set(LEAN_LIBS ${LEAN_LIBS} init)
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${LEAN_EXTRA_LINKER_FLAGS}")
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${LEAN_EXTRA_LINKER_FLAGS}")
|
||||||
if(MULTI_THREAD AND (NOT (("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin") AND BOOST)))
|
if(MULTI_THREAD AND (NOT ("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")) AND (NOT BOOST))
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread")
|
||||||
endif()
|
endif()
|
||||||
set(CMAKE_EXE_LINKER_FLAGS_TESTCOV "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage")
|
set(CMAKE_EXE_LINKER_FLAGS_TESTCOV "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage")
|
||||||
set(ALL_LIBS ${LEAN_LIBS} ${EXTRA_LIBS})
|
set(ALL_LIBS ${LEAN_LIBS} ${EXTRA_LIBS})
|
||||||
|
|
Loading…
Reference in a new issue