mirror of https://github.com/ecmwf/eccodes.git
Fix use of DEVELOPER_MODE (related to ECBUILD-474)
This commit is contained in:
parent
89af2ae8dd
commit
fdb658b1bc
|
@ -319,10 +319,9 @@ endif()
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# contents
|
# contents
|
||||||
|
set( the_default_data_prefix ${CMAKE_INSTALL_PREFIX} )
|
||||||
if( NOT ${DEVELOPER_MODE} )
|
if( ${DEVELOPER_MODE} )
|
||||||
set( the_default_data_prefix ${CMAKE_INSTALL_PREFIX} )
|
ecbuild_info("DEVELOPER_MODE is defined")
|
||||||
else()
|
|
||||||
set( the_default_data_prefix ${CMAKE_BINARY_DIR} )
|
set( the_default_data_prefix ${CMAKE_BINARY_DIR} )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue