Revision: 70285 http://sourceforge.net/p/brlcad/code/70285 Author: brlcad Date: 2017-09-16 16:16:36 +0000 (Sat, 16 Sep 2017) Log Message: ----------- for some reason, the gdal tests and flags seem to be affecting more than intended. looks like -Wl,--no-undefined is succeeding and then failing on all the general header/type/function tests, many of which overlap with our tests.
Modified Paths: -------------- brlcad/trunk/src/other/gdal/CMakeLists.txt Modified: brlcad/trunk/src/other/gdal/CMakeLists.txt =================================================================== --- brlcad/trunk/src/other/gdal/CMakeLists.txt 2017-09-15 20:35:14 UTC (rev 70284) +++ brlcad/trunk/src/other/gdal/CMakeLists.txt 2017-09-16 16:16:36 UTC (rev 70285) @@ -69,17 +69,17 @@ include(CheckCCompilerFlag) include(CheckCXXCompilerFlag) -set(cmp_flags "Wno-error" g O2 fPIC DPIC "Wl,--no-undefined" W4 wd4127 wd4251 wd4275 wd4786 wd4100 wd4245 wd4206 wd4351 wd4611) -foreach(cf ${cmp_flags}) - check_c_compiler_flag(-${cf} ${cf}_FLAG_C) - if(${cf}_FLAG_C) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -${cf}") - endif(${cf}_FLAG_C) - check_cxx_compiler_flag(-${cf} ${cf}_FLAG_CXX) - if(${cf}_FLAG_CXX) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -${cf}") - endif(${cf}_FLAG_CXX) -endforeach(cf ${cmp_flags}) +# set(cmp_flags "Wno-error" g O2 fPIC DPIC "Wl,--no-undefined" W4 wd4127 wd4251 wd4275 wd4786 wd4100 wd4245 wd4206 wd4351 wd4611) +# foreach(cf ${cmp_flags}) +# check_c_compiler_flag(-${cf} ${cf}_FLAG_C) +# if(${cf}_FLAG_C) +# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -${cf}") +# endif(${cf}_FLAG_C) +# check_cxx_compiler_flag(-${cf} ${cf}_FLAG_CXX) +# if(${cf}_FLAG_CXX) +# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -${cf}") +# endif(${cf}_FLAG_CXX) +# endforeach(cf ${cmp_flags}) add_definitions(-DPROJ_STATIC) add_definitions(-DGDAL_COMPILATION) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits