Add public header path to target interface

Closes #697.
This commit is contained in:
Marcus Geelnard
2016-02-02 00:54:57 +01:00
committed by Camilla Berglund
parent 453631773e
commit 075140aefe
4 changed files with 8 additions and 13 deletions
+3
View File
@@ -59,6 +59,9 @@ set_target_properties(glfw PROPERTIES
FOLDER "GLFW3")
target_compile_definitions(glfw PRIVATE -D_GLFW_USE_CONFIG_H)
target_include_directories(glfw PUBLIC
$<BUILD_INTERFACE:${GLFW_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>)
target_include_directories(glfw PRIVATE
"${GLFW_SOURCE_DIR}/src"
"${GLFW_BINARY_DIR}/src"