Skip to content

Commit

Permalink
aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
Sisah2 committed Dec 10, 2023
1 parent 784549a commit a357fcb
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions buildscripts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,9 @@ ExternalProject_Add(libcollada
-DBoost_INCLUDE_DIR=${prefix}/include
-DHAVE_STRTOQ=0
-DUSE_FILE32API=1
-D CMAKE_CXX_FLAGS='-Dauto_ptr=unique_ptr'
-DCMAKE_CXX_FLAGS=--std=c++11

# -D CMAKE_CXX_FLAGS='-Dauto_ptr=unique_ptr'
# -DCMAKE_CXX_FLAGS=--std=c++11
-DCMAKE_CXX_FLAGS=-std=gnu++11\ -DMYGUI_DONT_REPLACE_NULLPTR\ -I${prefix}/include/\ $ENV{CXXFLAGS}

BUILD_COMMAND ${wrapper_command} $(MAKE)

Expand All @@ -499,9 +499,9 @@ ExternalProject_Add(libcollada
set(OSG_COMMON
-DOPENGL_PROFILE="GL1"
-DDYNAMIC_OPENTHREADS=OFF
-DDYNAMIC_OPENSCENEGRAPH=OFF
-DDYNAMIC_OPENSCENEGRAPH=ON
-DBUILD_OSG_PLUGIN_OSG=ON
-DBUILD_OSG_PLUGIN_DAE=OFF
-DBUILD_OSG_PLUGIN_DAE=ON
-DBUILD_OSG_PLUGIN_DDS=ON
-DBUILD_OSG_PLUGIN_TGA=ON
-DBUILD_OSG_PLUGIN_BMP=ON
Expand All @@ -528,6 +528,9 @@ set(OSG_COMMON
-DBUILD_OSG_APPLICATIONS=OFF
-DBUILD_OSG_PLUGINS_BY_DEFAULT=OFF
-DBUILD_OSG_DEPRECATED_SERIALIZERS=OFF
#-DOPENGL_opengl_LIBRARY=${prefix}/lib/libGL.so
#-DOPENGL_glx_LIBRARY=${prefix}/lib/libGL.so
#-DOPENGL_INCLUDE_DIR=${prefix}/include/gl4es/
)

set(OSG_PATCH
Expand Down Expand Up @@ -557,8 +560,10 @@ ExternalProject_Add(osg
${COMMON_CMAKE_ARGS}
${OSG_COMMON}
#-D CMAKE_CXX_FLAGS='-Dauto_ptr=unique_ptr'
#-DCMAKE_CXX_FLAGS=--std=c++11

#-DCMAKE_CXX_FLAGS=--std=gnu++11
#-DCMAKE_CXX_FLAGS=--std=c++11
-DCMAKE_CXX_FLAGS=-std=gnu++11\ -DMYGUI_DONT_REPLACE_NULLPTR\ -I${prefix}/include/\ $ENV{CXXFLAGS}

BUILD_COMMAND ${wrapper_command} $(MAKE)

INSTALL_COMMAND mkdir -p <SOURCE_DIR>/3rdparty/build/libpng <SOURCE_DIR>/3rdparty/build/libjpeg <SOURCE_DIR>/3rdparty/build/freetype
Expand Down

0 comments on commit a357fcb

Please sign in to comment.