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)
19
19
cmake_policy (SET CMP0054 OLD )
20
20
endif ()
21
21
22
- list (APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR } /cmake" )
22
+ list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR } /cmake" )
23
23
24
24
set (MFAST_MAJOR_VERSION 1 )
25
25
set (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)
10
10
set (mfast_SRCS ${sources} ${instruction_sources} ${headers} ${instruction_headers} )
11
11
12
12
add_library (mfast_static STATIC ${mfast_SRCS} )
13
+ target_include_directories (mfast_static PUBLIC $< BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /src> )
13
14
14
15
if (UNIX )
15
16
set_target_properties (mfast_static PROPERTIES OUTPUT_NAME mfast )
You can’t perform that action at this time.
0 commit comments