#525 related: add compiler search path for every library
Consider search path for every single library as reported/found by CMake. Most includes sit in the same directory (so the same directory is reported for almost all libraries), however this may not be the case for every system or library.
This commit is contained in:
parent
c676ffaf53
commit
37453e6b7c
2 changed files with 3 additions and 0 deletions
|
@ -283,6 +283,7 @@ include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}
|
||||||
${Boost_INCLUDE_DIRS}
|
${Boost_INCLUDE_DIRS}
|
||||||
${ZLIB_INCLUDE_DIR}
|
${ZLIB_INCLUDE_DIR}
|
||||||
${ALUT_INCLUDE_DIR}
|
${ALUT_INCLUDE_DIR}
|
||||||
|
${OPENGL_INCLUDE_DIR}
|
||||||
${OPENAL_INCLUDE_DIR}
|
${OPENAL_INCLUDE_DIR}
|
||||||
${SIMGEAR_INCLUDE_DIR}
|
${SIMGEAR_INCLUDE_DIR}
|
||||||
${PLIB_INCLUDE_DIR} )
|
${PLIB_INCLUDE_DIR} )
|
||||||
|
|
|
@ -34,6 +34,8 @@ if(GLUT_FOUND)
|
||||||
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
include_directories(${PNG_INCLUDE_DIR})
|
||||||
|
|
||||||
install(TARGETS fgpanel RUNTIME DESTINATION bin)
|
install(TARGETS fgpanel RUNTIME DESTINATION bin)
|
||||||
else()
|
else()
|
||||||
message(STATUS "glut NOT found, can't build fgpanel")
|
message(STATUS "glut NOT found, can't build fgpanel")
|
||||||
|
|
Loading…
Reference in a new issue