Zlib is a public, not private include in Simgear.
Should fix Windows compilation as reported by Alan Teeder on the list.
This commit is contained in:
parent
ab70090a0a
commit
fe54af405c
@ -112,11 +112,10 @@ target_include_directories(SimGearCore BEFORE PUBLIC
|
|||||||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
|
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
|
||||||
$<INSTALL_INTERFACE:include>)
|
$<INSTALL_INTERFACE:include>)
|
||||||
|
|
||||||
target_include_directories(SimGearCore PUBLIC ${Boost_INCLUDE_DIRS})
|
target_include_directories(SimGearCore PUBLIC
|
||||||
|
${Boost_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIR})
|
||||||
target_include_directories(SimGearCore PRIVATE
|
target_include_directories(SimGearCore PRIVATE
|
||||||
${EXPAT_INCLUDE_DIRS}
|
${EXPAT_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS})
|
||||||
${ZLIB_INCLUDE_DIR}
|
|
||||||
${CURL_INCLUDE_DIRS})
|
|
||||||
|
|
||||||
install(TARGETS SimGearCore
|
install(TARGETS SimGearCore
|
||||||
EXPORT SimGearTargets
|
EXPORT SimGearTargets
|
||||||
|
Loading…
Reference in New Issue
Block a user