diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e356fbec..cb1156a2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -283,6 +283,7 @@ include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIR} ${ALUT_INCLUDE_DIR} + ${OPENGL_INCLUDE_DIR} ${OPENAL_INCLUDE_DIR} ${SIMGEAR_INCLUDE_DIR} ${PLIB_INCLUDE_DIR} ) diff --git a/utils/fgpanel/CMakeLists.txt b/utils/fgpanel/CMakeLists.txt index c90b770d6..d6f4b4351 100644 --- a/utils/fgpanel/CMakeLists.txt +++ b/utils/fgpanel/CMakeLists.txt @@ -34,6 +34,8 @@ if(GLUT_FOUND) ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES} ) + include_directories(${PNG_INCLUDE_DIR}) + install(TARGETS fgpanel RUNTIME DESTINATION bin) else() message(STATUS "glut NOT found, can't build fgpanel")