There is no CMAKE_LINKER_FLAGS variable.
There really isn't; deal with it. Also, those are not linker flags but instead meant for the compiler. References: - http://www.cmake.org/cmake/help/v3.0/manual/cmake-variables.7.html
This commit is contained in:
parent
71a00fc01b
commit
7143daf500
@ -118,7 +118,6 @@ if(CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
if(NOT ${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC")
|
||||
message(STATUS "adding profiling flags")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage -fno-inline")
|
||||
set(CMAKE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage -fno-inline")
|
||||
endif()
|
||||
endif()
|
||||
if(CMAKE_BUILD_TYPE MATCHES Release)
|
||||
|
Loading…
Reference in New Issue
Block a user