diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2018-04-22 11:04:50 +0100 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2018-04-22 11:04:50 +0100 |
commit | 155b57e98fb15769b1e5fb99154884b195df0b61 (patch) | |
tree | 3ff1e2faf9ba3a97ccb0516dcae25412dd3dce08 /configuration | |
parent | c62fb68b17f4a83cdd68fdd19fce1fd8f271c9d2 (diff) | |
download | google-fruit-155b57e98fb15769b1e5fb99154884b195df0b61.tar.gz |
Remove an unnecessary list of flags when testing compiler features, it's already used by default and some compiler flags can only be passed once.
Diffstat (limited to 'configuration')
-rw-r--r-- | configuration/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configuration/CMakeLists.txt b/configuration/CMakeLists.txt index ea0f93c..b18a463 100644 --- a/configuration/CMakeLists.txt +++ b/configuration/CMakeLists.txt @@ -1,7 +1,7 @@ include(CheckCXXSourceCompiles) -set(CMAKE_REQUIRED_FLAGS "${FRUIT_COMPILE_FLAGS} ${CMAKE_EXE_LINKER_FLAGS}") +set(CMAKE_REQUIRED_FLAGS "${FRUIT_COMPILE_FLAGS}") CHECK_CXX_SOURCE_COMPILES(" int main() {} |