We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b59501 commit 37f5d94Copy full SHA for 37f5d94
CMakeLists.txt
@@ -1,4 +1,4 @@
1
-cmake_minimum_required(VERSION 3.6)
+cmake_minimum_required(VERSION 3.9)
2
3
if (DEFINED LF_REACTOR_CPP_SUFFIX)
4
# the build is triggered from Lingua Franca
@@ -16,6 +16,11 @@ set(CMAKE_CXX_EXTENSIONS OFF)
16
17
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
18
19
+# Use thw new CMP0068 policy. This needs to be set explicitly to avoid a warning message
20
+cmake_policy(SET CMP0068 NEW)
21
+set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
22
+set(BUILD_WITH_INSTALL_NAME_DIR ON)
23
+
24
if (NOT DEFINED LF_REACTOR_CPP_SUFFIX)
25
find_program(CLANG_TIDY clang-tidy)
26
if (CLANG_TIDY)
0 commit comments