export generated defines directory so that the library can be used via add_subdirectory from another CMake-based project (#268)

This commit is contained in:
Max Savenkov 2018-06-12 23:59:15 +03:00 committed by Kjell Hedström
parent 86c04cf729
commit 5ffb360e2f

View File

@ -135,6 +135,6 @@ ENDIF()
TARGET_LINK_LIBRARIES(${G3LOG_LIBRARY} ${PLATFORM_LINK_LIBRIES}) TARGET_LINK_LIBRARIES(${G3LOG_LIBRARY} ${PLATFORM_LINK_LIBRIES})
# Kjell: This is likely not necessary, except for Windows? # Kjell: This is likely not necessary, except for Windows?
TARGET_INCLUDE_DIRECTORIES(${G3LOG_LIBRARY} PUBLIC ${LOG_SRC}) TARGET_INCLUDE_DIRECTORIES(${G3LOG_LIBRARY} PUBLIC ${LOG_SRC} "${CMAKE_CURRENT_BINARY_DIR}/include")