summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-19 13:47:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-24 19:31:24 +0100
commit7b7990fb42ff8bd1c76f114a12b6cbf53a478108 (patch)
treee93a27e2bb4947a188109961b08b3a86d9703f39 /CMakeLists.txt
parent05bc404492c1648ae584b86e1bb6cb7aa74b9645 (diff)
cmake, modules: fix project language logic errors
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5be882d3..8a56974b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,9 +23,7 @@
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
-set(CMAKE_C_LINKER_PREFERENCE CXX)
-set(CMAKE_CXX_LINKER_PREFERENCE CXX)
-set(CMAKE_C_LINKER_PREFERENCE_PROPAGATES ON)
+set(CMAKE_C_LINKER_PREFERENCE_PROPAGATES OFF)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES ON)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")