8000 Merge pull request #565 from IohannRabeson/improve_cmake · ChaiScript/ChaiScript@651abc2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 651abc2

Browse files
authored
Merge pull request #565 from IohannRabeson/improve_cmake
Add include directory to chai target.
2 parents 855c3ce + b3ed446 commit 651abc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ set(CHAISCRIPT_LIBS stdlib parser)
248248

249249
add_executable(chai src/main.cpp ${Chai_INCLUDES})
250250
target_link_libraries(chai ${LIBS} ${CHAISCRIPT_LIBS})
251+
target_include_directories(chai PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
251252

252253
if(BUILD_SAMPLES)
253254
add_executable(sanity_checks src/sanity_checks.cpp)

0 commit comments

Comments
 (0)
0