File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
3535 set (CMAKE_BUILD_TYPE "RelWithDebInfo" )
3636endif ()
3737
38+ # add build/QuantLib as first include directory to make sure we include QL's cmake-configured files
39+ include_directories ("${PROJECT_BINARY_DIR} /QuantLib" )
40+
41+ # similar if QuantLib is build separately
42+ include_directories ("${CMAKE_CURRENT_LIST_DIR} /../QuantLib/build" )
43+
3844if (MSVC )
3945 set (BUILD_SHARED_LIBS OFF )
4046
@@ -60,11 +66,7 @@ if(MSVC)
6066 endif ()
6167 endif ()
6268
63- # add build/QuantLib as first include directory to make sure we include QL's cmake-configured files
64- include_directories ("${PROJECT_BINARY_DIR} /QuantLib" )
6569
66- # similar if QuantLib is build separately
67- include_directories ("${CMAKE_CURRENT_LIST_DIR} /../QuantLib/build" )
6870
6971 IF (NOT Boost_USE_STATIC_LIBS)
7072 add_definitions (-DBOOST_ALL_DYN_LINK )
You can’t perform that action at this time.
0 commit comments