mirror of
https://github.com/glest/glest-source.git
synced 2025-02-22 18:54:58 +01:00
Remove duplicate DCUSTOM_DATA_INSTALL_PATH
Within 5 lines CUSTOM_DATA_INSTALL_PATH is defined twice resulting in lots of compiler warnings; eg [ 11%] Building CXX object source/shared_lib/sources/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_atanf.cpp.o In file included from <built-in>:175: <command line>:7:9: warning: 'CUSTOM_DATA_INSTALL_PATH' macro redefined ^ <command line>:2:9: note: previous definition is here ^ This removes the second definition. Conflicts: CMakeLists.txt
This commit is contained in:
parent
c945a5721d
commit
953c055ced
@ -280,7 +280,6 @@ IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
|
||||
SET (CUSTOM_DATA_INSTALL_PATH "\"${CMAKE_INSTALL_PREFIX}/${MEGAGLEST_DATA_INSTALL_PATH}\"" CACHE STRING "The FULL installation path for data files (this is build automatically by combining CMAKE_INSTALL_PREFIX and MEGAGLEST_DATA_INSTALL_PATH)")
|
||||
ENDIF()
|
||||
SET(CUSTOM_DATA_INSTALL_PATH_VALUE "-DCUSTOM_DATA_INSTALL_PATH=${CUSTOM_DATA_INSTALL_PATH}")
|
||||
ADD_DEFINITIONS("-DCUSTOM_DATA_INSTALL_PATH=${CUSTOM_DATA_INSTALL_PATH}")
|
||||
|
||||
SET(PKG_DATADIR ${CUSTOM_DATA_INSTALL_PATH_VALUE})
|
||||
SET(PKG_BINDIR ${MEGAGLEST_BIN_INSTALL_PATH})
|
||||
|
Loading…
x
Reference in New Issue
Block a user