File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)
22
33project (App CXX )
44
5- include ("../cmake/ commonSettings.cmake" )
5+ include (commonSettings )
66
77get_library_name ("OREPlusBase" OREPBASE_LIB_NAME )
88get_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)
1414
1515include (CTest )
1616
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 )
1822
1923set (USE_GLOBAL_ORE_BUILD ON )
2024
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ project(OREAnalytics CXX)
44
55enable_testing ()
66
7- include ("../cmake/ writeAll.cmake" )
8- include ("../cmake/ commonSettings.cmake" )
7+ include (writeAll )
8+ include (commonSettings )
99
1010get_library_name ("OREAnalytics" OREA_LIB_NAME )
1111get_library_name ("OREData" ORED_LIB_NAME )
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ project(OREData CXX)
44
55enable_testing ()
66
7- include ("../cmake/ writeAll.cmake" )
8- include ("../cmake/ commonSettings.cmake" )
7+ include (writeAll )
8+ include (commonSettings )
99
1010get_library_name ("OREData" ORED_LIB_NAME )
1111get_library_name ("QuantExt" QLE_LIB_NAME )
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ project(QuantExt CXX)
44
55enable_testing ()
66
7- include ("../cmake/ writeAll.cmake" )
8- include ("../cmake/ writeTestSuiteMain.cmake" )
9- include ("../cmake/ commonSettings.cmake" )
7+ include (writeAll )
8+ include (writeTestSuiteMain )
9+ include (commonSettings )
1010
1111get_library_name ("QuantExt" QLE_LIB_NAME )
1212set_ql_library_name ()
You can’t perform that action at this time.
0 commit comments