mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Merge pull request #565 from IohannRabeson/improve_cmake
Add include directory to chai target.
This commit is contained in:
commit
651abc2f5b
@ -248,6 +248,7 @@ set(CHAISCRIPT_LIBS stdlib parser)
|
|||||||
|
|
||||||
add_executable(chai src/main.cpp ${Chai_INCLUDES})
|
add_executable(chai src/main.cpp ${Chai_INCLUDES})
|
||||||
target_link_libraries(chai ${LIBS} ${CHAISCRIPT_LIBS})
|
target_link_libraries(chai ${LIBS} ${CHAISCRIPT_LIBS})
|
||||||
|
target_include_directories(chai PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||||
|
|
||||||
if(BUILD_SAMPLES)
|
if(BUILD_SAMPLES)
|
||||||
add_executable(sanity_checks src/sanity_checks.cpp)
|
add_executable(sanity_checks src/sanity_checks.cpp)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user