File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if(POLICY CMP0054)
1919 cmake_policy (SET CMP0054 OLD)
2020endif ()
2121
22- list (APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR } /cmake" )
22+ list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR } /cmake" )
2323
2424set (MFAST_MAJOR_VERSION 1)
2525set (MFAST_MINOR_VERSION 3)
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
1010set (mfast_SRCS ${sources} ${instruction_sources} ${headers} ${instruction_headers} )
1111
1212add_library (mfast_static STATIC ${mfast_SRCS} )
13+ target_include_directories (mfast_static PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /src>)
1314
1415if (UNIX )
1516 set_target_properties (mfast_static PROPERTIES OUTPUT_NAME mfast)
You can’t perform that action at this time.
0 commit comments