]> git.mxchange.org Git - simgear.git/commitdiff
Cmake: 3RDPARTY_DIR fixes from Olaf Flebbe
authorJames Turner <zakalawe@mac.com>
Sat, 1 Jan 2011 21:06:43 +0000 (21:06 +0000)
committerJames Turner <zakalawe@mac.com>
Sat, 1 Jan 2011 21:06:43 +0000 (21:06 +0000)
CMakeLists.txt

index 974671c754e62d1aca7b7c75814456f9b25964d0..82008959dced848a68ed9160061d492f189684a0 100644 (file)
@@ -21,12 +21,12 @@ option(MSVC_3RDPARTY_DIR "Location where the third-party dependencies are extrac
 
 if (MSVC_3RDPARTY_DIR)
   message(STATUS "3rdparty files located in ${MSVC_3RDPARTY_DIR}")
 
 if (MSVC_3RDPARTY_DIR)
   message(STATUS "3rdparty files located in ${MSVC_3RDPARTY_DIR}")
-  set (CMAKE_LIBRARY_PATH ${MSVC_3RDPARTY_DIR}/3rdParty/lib)
-  set (CMAKE_INCLUDE_PATH ${MSVC_3RDPARTY_DIR}/3rdParty/include)
+  set (CMAKE_LIBRARY_PATH ${MSVC_3RDPARTY_DIR}/3rdParty/lib ${MSVC_3RDPARTY_DIR}/install/msvc90/OpenScenegraph/lib )
+  set (CMAKE_INCLUDE_PATH ${MSVC_3RDPARTY_DIR}/3rdParty/include ${MSVC_3RDPARTY_DIR}/install/msvc90/OpenScenegraph/include)
   set (BOOST_ROOT ${MSVC_3RDPARTY_DIR}/boost_1_44_0)
   set (OPENAL_INCLUDE_DIR ${MSVC_3RDPARTY_DIR}/3rdParty/include)
   set (BOOST_ROOT ${MSVC_3RDPARTY_DIR}/boost_1_44_0)
   set (OPENAL_INCLUDE_DIR ${MSVC_3RDPARTY_DIR}/3rdParty/include)
+  set (ALUT_INCLUDE_DIR ${MSVC_3RDPARTY_DIR}/3rdParty/include)
   set (OPENAL_LIBRARY_DIR ${MSVC_3RDPARTY_DIR}/3rdParty/lib) 
   set (OPENAL_LIBRARY_DIR ${MSVC_3RDPARTY_DIR}/3rdParty/lib) 
-  set (OSGDIR ${MSVC_3RDPARTY_DIR}/install/msvc90/OpenScenegraph)
 endif (MSVC_3RDPARTY_DIR)
 
 find_package(Boost REQUIRED)
 endif (MSVC_3RDPARTY_DIR)
 
 find_package(Boost REQUIRED)