Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 651abc2 + 53fe932 commit 3703a78Copy full SHA for 3703a78
CMakeLists.txt
@@ -248,7 +248,9 @@ set(CHAISCRIPT_LIBS stdlib parser)
248
249
add_executable(chai src/main.cpp ${Chai_INCLUDES})
250
target_link_libraries(chai ${LIBS} ${CHAISCRIPT_LIBS})
251
-target_include_directories(chai PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
+
252
+add_library(chaiscript INTERFACE)
253
+target_include_directories(chaiscript INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
254
255
if(BUILD_SAMPLES)
256
add_executable(sanity_checks src/sanity_checks.cpp)
0 commit comments