Commit fb97b52 1 parent 7ef7b3f commit fb97b52 Copy full SHA for fb97b52
File tree 5 files changed +13
-9
lines changed
5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)
2
2
3
3
project (App CXX)
4
4
5
- include ("../cmake/ commonSettings.cmake" )
5
+ include (commonSettings)
6
6
7
7
get_library_name("OREPlusBase" OREPBASE_LIB_NAME)
8
8
get_library_name("OREAnalytics" OREA_LIB_NAME)
Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ option(ORE_USE_ZLIB "Use compression for boost::iostreams" OFF)
14
14
15
15
include (CTest)
16
16
17
- include ("cmake/commonSettings.cmake" )
17
+ # Path for local cmake modules
18
+ if (NOT "${CMAKE_CURRENT_LIST_DIR} /cmake" IN_LIST CMAKE_MODULE_PATH )
19
+ list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR} /cmake" )
20
+ endif ()
21
+ include (commonSettings)
18
22
19
23
set (USE_GLOBAL_ORE_BUILD ON )
20
24
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ project(OREAnalytics CXX)
4
4
5
5
enable_testing ()
6
6
7
- include ("../cmake/ writeAll.cmake" )
8
- include ("../cmake/ commonSettings.cmake" )
7
+ include (writeAll)
8
+ include (commonSettings)
9
9
10
10
get_library_name("OREAnalytics" OREA_LIB_NAME)
11
11
get_library_name("OREData" ORED_LIB_NAME)
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ project(OREData CXX)
4
4
5
5
enable_testing ()
6
6
7
- include ("../cmake/ writeAll.cmake" )
8
- include ("../cmake/ commonSettings.cmake" )
7
+ include (writeAll)
8
+ include (commonSettings)
9
9
10
10
get_library_name("OREData" ORED_LIB_NAME)
11
11
get_library_name("QuantExt" QLE_LIB_NAME)
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ project(QuantExt CXX)
4
4
5
5
enable_testing ()
6
6
7
- include ("../cmake/ writeAll.cmake" )
8
- include ("../cmake/ writeTestSuiteMain.cmake" )
9
- include ("../cmake/ commonSettings.cmake" )
7
+ include (writeAll)
8
+ include (writeTestSuiteMain)
9
+ include (commonSettings)
10
10
11
11
get_library_name("QuantExt" QLE_LIB_NAME)
12
12
set_ql_library_name()
You can’t perform that action at this time.
0 commit comments