diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2016-06-11 17:03:58 +0100 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2016-06-11 17:03:58 +0100 |
commit | c1e07e4b4c7418e2366f386b5cf3eefb50697b9e (patch) | |
tree | e51609af41da5f03babc9f86a673e3c7736ff462 /src | |
parent | 7542a335b0a280c142e986eab346d697e37edc4a (diff) | |
download | google-fruit-c1e07e4b4c7418e2366f386b5cf3eefb50697b9e.tar.gz |
Remove ${} from arguments to a CMake if to avoid expansion problems.
The extra ${}s were causing build failures on Linux when using Clang and libc++.
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5d1c138..5c04574 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,7 +5,7 @@ injector_storage.cpp normalized_component_storage.cpp semistatic_map.cpp ) -if(${UNIX} AND NOT ${APPLE}) +if(UNIX AND NOT APPLE) target_link_libraries(fruit supc++) endif() |