Changeset 905

Show
Ignore:
Timestamp:
03/25/08 13:34:54
Author:
robert
Message:

From Ulrich Hertlein, build fixes for OSX.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CMakeLists.txt

    r900 r905  
    6161ENDIF(UNIX) 
    6262     
     63FIND_PACKAGE(CURL) 
     64 
     65 
    6366# Make the headers visible to everything 
    6467INCLUDE_DIRECTORIES( 
     
    221224# advantage of this. 
    222225IF(NOT VPB_CONFIG_HAS_BEEN_RUN_BEFORE) 
    223     SET(VOB_CONFIG_HAS_BEEN_RUN_BEFORE 1 CACHE INTERNAL "Flag to track whether this is the first time running CMake or if CMake has been configured before") 
     226    SET(VPB_CONFIG_HAS_BEEN_RUN_BEFORE 1 CACHE INTERNAL "Flag to track whether this is the first time running CMake or if CMake has been configured before") 
    224227ENDIF(NOT VPB_CONFIG_HAS_BEEN_RUN_BEFORE) 
    225228 
  • trunk/applications/CMakeLists.txt

    r807 r905  
    2323ADD_SUBDIRECTORY(osgdem) 
    2424ADD_SUBDIRECTORY(vpbcache) 
     25ADD_SUBDIRECTORY(vpbcurl) 
    2526ADD_SUBDIRECTORY(vpbsizes) 
    2627ADD_SUBDIRECTORY(vpbmaster) 
  • trunk/src/vpb/CMakeLists.txt

    r856 r905  
    8080ENDIF(WIN32) 
    8181 
    82 LINK_WITH_VARIABLES(${LIB_NAME} OSG_LIBRARY OSGUTIL_LIBRARY OSGSIM_LIBRARY OSGTERRAIN_LIBRARY OSGDB_LIBRARY OSGFX_LIBRARY OSGVIEWER_LIBRARY OPENTHREADS_LIBRARY) 
     82LINK_WITH_VARIABLES(${LIB_NAME} OSG_LIBRARY OSGUTIL_LIBRARY OSGSIM_LIBRARY OSGTERRAIN_LIBRARY OSGDB_LIBRARY OSGFX_LIBRARY OSGVIEWER_LIBRARY OSGTEXT_LIBRARY OSGGA_LIBRARY OPENTHREADS_LIBRARY) 
    8383LINK_CORELIB_DEFAULT(${LIB_NAME} ${CMAKE_THREAD_LIBS_INIT} ${MATH_LIBRARY} ) 
    8484 
  • trunk/src/vpb/Date.cpp

    r831 r905  
    1717 
    1818#include <time.h> 
     19 
     20// for struct stat 
     21#include <sys/types.h> 
     22#include <sys/stat.h>  
    1923 
    2024using namespace vpb;