1
0
Fork 0
mirror of https://github.com/gwm17/DaqGrimoire.git synced 2024-11-22 18:58:51 -05:00

Fix CMake bug

This commit is contained in:
Gordon McCann 2022-09-29 16:57:59 -04:00
parent 6949cb39c2
commit a76c903b8d

View File

@ -14,6 +14,6 @@ add_library(DaqGrimoire INTERFACE)
target_include_directories(DaqGrimoire INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
if(DEFINED GRIMOIRE_ASIO_INCLUDE_PATH)
target_compile_definitions(DaqGrimoire DG_HAS_ASIO)
target_include_directories(DaqGrimoire PRIVATE ${GRIMOIRE_ASIO_INCLUDE_PATH})
target_compile_definitions(DaqGrimoire INTERFACE DG_HAS_ASIO)
target_include_directories(DaqGrimoire INTERFACE ${GRIMOIRE_ASIO_INCLUDE_PATH})
endif()