Commit bb1830f9bb162e2afc79f793dadcd43c26bce1d3

Authored by Nathanael Jourdane
1 parent d65da2b3
Exists in centos7

Use BOOST_LIB var instead BOOST_ROOT

CMakeLists.txt
@@ -24,8 +24,9 @@ if (EXISTS "$ENV{AMDA_COTS_DIR}") @@ -24,8 +24,9 @@ if (EXISTS "$ENV{AMDA_COTS_DIR}")
24 set(AMDA_COTS_DIR "$ENV{AMDA_COTS_DIR}") 24 set(AMDA_COTS_DIR "$ENV{AMDA_COTS_DIR}")
25 set(USERLOCAL_ROOT "$ENV{AMDA_COTS_DIR}/local") 25 set(USERLOCAL_ROOT "$ENV{AMDA_COTS_DIR}/local")
26 set(AMDA_TOOLS_DIR "$ENV{AMDA_COTS_DIR}/tools") 26 set(AMDA_TOOLS_DIR "$ENV{AMDA_COTS_DIR}/tools")
27 - set(GCC_ROOT "$ENV{AMDA_COTS_DIR}/tools/gcc/4.7.2/rtf")  
28 - set(BOOST_ROOT "$ENV{AMDA_COTS_DIR}/tools/gcc/4.7.2/boost") 27 + set(GCC_ROOT "/usr/lib/gcc")
  28 + set(BOOST_ROOT "/usr/include/boost")
  29 + set(BOOST_LIB "/usr/lib64/")
29 set(SONAR_ROOT "$ENV{AMDA_COTS_DIR}/tools/sonar") 30 set(SONAR_ROOT "$ENV{AMDA_COTS_DIR}/tools/sonar")
30 set(FITNESSE_ROOT "$ENV{AMDA_COTS_DIR}/tools/fitnesse") 31 set(FITNESSE_ROOT "$ENV{AMDA_COTS_DIR}/tools/fitnesse")
31 else() 32 else()
src/Info/CMakeLists.txt
@@ -24,7 +24,7 @@ ADD_LIBRARY( Info SHARED ${source_files} ) @@ -24,7 +24,7 @@ ADD_LIBRARY( Info SHARED ${source_files} )
24 24
25 target_link_libraries( 25 target_link_libraries(
26 Info 26 Info
27 - ${BOOST_ROOT}/lib/libboost_system.so  
28 - ${BOOST_ROOT}/lib/libboost_thread.so 27 + ${BOOST_LIB}/libboost_system.so
  28 + ${BOOST_LIB}/libboost_thread.so
29 ${LIBXML2_LIBRARIES} 29 ${LIBXML2_LIBRARIES}
30 ) 30 )
src/Main/CMakeLists.txt
@@ -39,8 +39,8 @@ target_link_libraries( @@ -39,8 +39,8 @@ target_link_libraries(
39 ${LOG4CXX_LIBRARIES} 39 ${LOG4CXX_LIBRARIES}
40 Plugin 40 Plugin
41 XMLParameterConfigurator 41 XMLParameterConfigurator
42 - ${BOOST_ROOT}/lib/libboost_system.so  
43 - ${BOOST_ROOT}/lib/libboost_thread.so 42 + ${BOOST_LIB}/libboost_system.so
  43 + ${BOOST_LIB}/libboost_thread.so
44 ParamOutputImpl 44 ParamOutputImpl
45 TimeTableCatalog 45 TimeTableCatalog
46 ${DDCLIENTLIBRARY} 46 ${DDCLIENTLIBRARY}
src/ParamGetImpl/LocalFileInterface/CMakeLists.txt
@@ -36,7 +36,7 @@ target_link_libraries( @@ -36,7 +36,7 @@ target_link_libraries(
36 ${LOG4CXX_LIBRARIES} 36 ${LOG4CXX_LIBRARIES}
37 ${libcdf_LIBRARIES} 37 ${libcdf_LIBRARIES}
38 ${libnetcdf_LIBRARIES} 38 ${libnetcdf_LIBRARIES}
39 - ${BOOST_ROOT}/lib/libboost_system.so 39 + ${BOOST_LIB}/libboost_system.so
40 # AMDA_COMMON 40 # AMDA_COMMON
41 Plugin 41 Plugin
42 TimeTableCatalog 42 TimeTableCatalog
src/ParamOutputImpl/DataMining/CMakeLists.txt
@@ -36,8 +36,8 @@ target_link_libraries( @@ -36,8 +36,8 @@ target_link_libraries(
36 ParamOutputDataMiningImpl 36 ParamOutputDataMiningImpl
37 ${LIBXML2_LIBRARIES} 37 ${LIBXML2_LIBRARIES}
38 ${cURL_LIBRARIES} 38 ${cURL_LIBRARIES}
39 - ${BOOST_ROOT}/lib/libboost_system.so  
40 - ${BOOST_ROOT}/lib/libboost_filesystem.so 39 + ${BOOST_LIB}/libboost_system.so
  40 + ${BOOST_LIB}/libboost_filesystem.so
41 TimeTableCatalog 41 TimeTableCatalog
42 ${LOG4CXX_LIBRARIES} 42 ${LOG4CXX_LIBRARIES}
43 # AMDA_COMMON 43 # AMDA_COMMON
src/ParamOutputImpl/Download/CMakeLists.txt
@@ -34,8 +34,8 @@ ADD_LIBRARY( ParamOutputImpl SHARED ${source_files} ) @@ -34,8 +34,8 @@ ADD_LIBRARY( ParamOutputImpl SHARED ${source_files} )
34 target_link_libraries( 34 target_link_libraries(
35 ParamOutputImpl 35 ParamOutputImpl
36 ${LOG4CXX_LIBRARIES} 36 ${LOG4CXX_LIBRARIES}
37 - ${BOOST_ROOT}/lib/libboost_system.so  
38 - ${BOOST_ROOT}/lib/libboost_thread.so 37 + ${BOOST_LIB}/libboost_system.so
  38 + ${BOOST_LIB}/libboost_thread.so
39 ${libcdf_LIBRARIES} 39 ${libcdf_LIBRARIES}
40 rt 40 rt
41 Parameters 41 Parameters
src/ParamOutputImpl/Plot/CMakeLists.txt
@@ -61,9 +61,9 @@ target_link_libraries( @@ -61,9 +61,9 @@ target_link_libraries(
61 ${LOG4CXX_LIBRARIES} 61 ${LOG4CXX_LIBRARIES}
62 ${PLplot_LIBRARIES} 62 ${PLplot_LIBRARIES}
63 ${QSAS_LIBRARIES} 63 ${QSAS_LIBRARIES}
64 - ${BOOST_ROOT}/lib/libboost_system.so  
65 - ${BOOST_ROOT}/lib/libboost_thread.so  
66 - ${BOOST_ROOT}/lib/libboost_regex.so 64 + ${BOOST_LIB}/libboost_system.so
  65 + ${BOOST_LIB}/libboost_thread.so
  66 + ${BOOST_LIB}/libboost_regex.so
67 rt 67 rt
68 Parameters 68 Parameters
69 Info 69 Info
src/ParamOutputImpl/Statistic/CMakeLists.txt
@@ -33,7 +33,7 @@ ADD_LIBRARY( ParamOutputStatisticImpl SHARED ${source_files} ) @@ -33,7 +33,7 @@ ADD_LIBRARY( ParamOutputStatisticImpl SHARED ${source_files} )
33 target_link_libraries( 33 target_link_libraries(
34 ParamOutputStatisticImpl 34 ParamOutputStatisticImpl
35 ${LIBXML2_LIBRARIES} 35 ${LIBXML2_LIBRARIES}
36 - ${BOOST_ROOT}/lib/libboost_system.so 36 + ${BOOST_LIB}/libboost_system.so
37 ${LOG4CXX_LIBRARIES} 37 ${LOG4CXX_LIBRARIES}
38 # AMDA_COMMON 38 # AMDA_COMMON
39 Plugin 39 Plugin
src/Parameters/CMakeLists.txt
@@ -29,7 +29,7 @@ target_link_libraries( @@ -29,7 +29,7 @@ target_link_libraries(
29 TimeTableCatalog 29 TimeTableCatalog
30 ${LIBXML2_LIBRARIES} 30 ${LIBXML2_LIBRARIES}
31 ${LOG4CXX_LIBRARIES} 31 ${LOG4CXX_LIBRARIES}
32 - ${BOOST_ROOT}/lib/libboost_system.so  
33 - ${BOOST_ROOT}/lib/libboost_thread.so 32 + ${BOOST_LIB}/libboost_system.so
  33 + ${BOOST_LIB}/libboost_thread.so
34 rt 34 rt
35 ) 35 )
src/PostProcessing/CMakeLists.txt
@@ -26,8 +26,8 @@ target_link_libraries( @@ -26,8 +26,8 @@ target_link_libraries(
26 PostProcessing 26 PostProcessing
27 XMLConfigurator 27 XMLConfigurator
28 ${LOG4CXX_LIBRARIES} 28 ${LOG4CXX_LIBRARIES}
29 - ${BOOST_ROOT}/lib/libboost_iostreams.so  
30 - ${BOOST_ROOT}/lib/libboost_filesystem.so 29 + ${BOOST_LIB}/libboost_iostreams.so
  30 + ${BOOST_LIB}/libboost_filesystem.so
31 ${libarchive_LIBRARIES} 31 ${libarchive_LIBRARIES}
32 ${LIBXML2_LIBRARIES} 32 ${LIBXML2_LIBRARIES}
33 -)  
34 \ No newline at end of file 33 \ No newline at end of file
  34 +)
src/SpiceKernel/CMakeLists.txt
@@ -29,8 +29,8 @@ ADD_LIBRARY( SpiceKernel SHARED ${source_files} ) @@ -29,8 +29,8 @@ ADD_LIBRARY( SpiceKernel SHARED ${source_files} )
29 29
30 target_link_libraries( 30 target_link_libraries(
31 SpiceKernel 31 SpiceKernel
32 - ${BOOST_ROOT}/lib/libboost_system.so  
33 - ${BOOST_ROOT}/lib/libboost_thread.so 32 + ${BOOST_LIB}/libboost_system.so
  33 + ${BOOST_LIB}/libboost_thread.so
34 ${LIBXML2_LIBRARIES} 34 ${LIBXML2_LIBRARIES}
35 ${libcspice_LIBRARIES} 35 ${libcspice_LIBRARIES}
36 TimeUtil 36 TimeUtil
src/TimeTableCatalog/CMakeLists.txt
@@ -25,6 +25,6 @@ target_link_libraries( @@ -25,6 +25,6 @@ target_link_libraries(
25 ${LOG4CXX_LIBRARIES} 25 ${LOG4CXX_LIBRARIES}
26 ${LIBXML2_LIBRARIES} 26 ${LIBXML2_LIBRARIES}
27 ${cURL_LIBRARIES} 27 ${cURL_LIBRARIES}
28 - ${BOOST_ROOT}/lib/libboost_system.so  
29 - ${BOOST_ROOT}/lib/libboost_filesystem.so  
30 -)  
31 \ No newline at end of file 28 \ No newline at end of file
  29 + ${BOOST_LIB}/libboost_system.so
  30 + ${BOOST_LIB}/libboost_filesystem.so
  31 +)
src/amdaParameterGenerator/CMakeLists.txt
@@ -33,9 +33,9 @@ target_link_libraries( @@ -33,9 +33,9 @@ target_link_libraries(
33 ${LOG4CXX_LIBRARIES} 33 ${LOG4CXX_LIBRARIES}
34 Plugin 34 Plugin
35 XMLParameterConfigurator 35 XMLParameterConfigurator
36 - ${BOOST_ROOT}/lib/libboost_system.so  
37 - ${BOOST_ROOT}/lib/libboost_thread.so  
38 - ${BOOST_ROOT}/lib/libboost_program_options.so 36 + ${BOOST_LIB}/libboost_system.so
  37 + ${BOOST_LIB}/libboost_thread.so
  38 + ${BOOST_LIB}/libboost_program_options.so
39 ParamOutputImpl 39 ParamOutputImpl
40 TimeTableCatalog 40 TimeTableCatalog
41 Info 41 Info
src/amdaParameterInfo/CMakeLists.txt
@@ -36,9 +36,9 @@ target_link_libraries( @@ -36,9 +36,9 @@ target_link_libraries(
36 ${LIBXML2_LIBRARIES} 36 ${LIBXML2_LIBRARIES}
37 Plugin 37 Plugin
38 XMLParameterConfigurator 38 XMLParameterConfigurator
39 - ${BOOST_ROOT}/lib/libboost_system.so  
40 - ${BOOST_ROOT}/lib/libboost_thread.so  
41 - ${BOOST_ROOT}/lib/libboost_program_options.so 39 + ${BOOST_LIB}/libboost_system.so
  40 + ${BOOST_LIB}/libboost_thread.so
  41 + ${BOOST_LIB}/libboost_program_options.so
42 ParamOutputImpl 42 ParamOutputImpl
43 TimeTableCatalog 43 TimeTableCatalog
44 Info 44 Info
src/amdaXMLRequestorTool/CMakeLists.txt
@@ -36,8 +36,8 @@ target_link_libraries( @@ -36,8 +36,8 @@ target_link_libraries(
36 Parameters 36 Parameters
37 XMLRequest 37 XMLRequest
38 ${LOG4CXX_LIBRARIES} 38 ${LOG4CXX_LIBRARIES}
39 - ${BOOST_ROOT}/lib/libboost_system.so  
40 - ${BOOST_ROOT}/lib/libboost_thread.so 39 + ${BOOST_LIB}/libboost_system.so
  40 + ${BOOST_LIB}/libboost_thread.so
41 ${LIBXML2_LIBRARIES} 41 ${LIBXML2_LIBRARIES}
42 Plugin 42 Plugin
43 XMLParameterConfigurator 43 XMLParameterConfigurator
src/helpers/CMakeLists.txt
@@ -18,7 +18,7 @@ ADD_LIBRARY( helpers SHARED ${source_files} ) @@ -18,7 +18,7 @@ ADD_LIBRARY( helpers SHARED ${source_files} )
18 18
19 target_link_libraries( 19 target_link_libraries(
20 helpers 20 helpers
21 - ${BOOST_ROOT}/lib/libboost_system.so  
22 - ${BOOST_ROOT}/lib/libboost_thread.so 21 + ${BOOST_LIB}/libboost_system.so
  22 + ${BOOST_LIB}/libboost_thread.so
23 rt 23 rt
24 ) 24 )
test/DD_Client/CSlimFixtures/CMakeLists.txt
@@ -23,7 +23,7 @@ file( @@ -23,7 +23,7 @@ file(
23 ADD_LIBRARY(DDClientCSlimFixtures SHARED ${source_files}) 23 ADD_LIBRARY(DDClientCSlimFixtures SHARED ${source_files})
24 24
25 target_link_libraries(DDClientCSlimFixtures 25 target_link_libraries(DDClientCSlimFixtures
26 - ${BOOST_ROOT}/lib/libboost_regex.so 26 + ${BOOST_LIB}/libboost_regex.so
27 TimeTableCatalog 27 TimeTableCatalog
28 png 28 png
29 ) 29 )