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
|
||||
|
||||
if( NOT ${DEVELOPER_MODE} )
|
||||
set( the_default_data_prefix ${CMAKE_INSTALL_PREFIX} )
|
||||
else()
|
||||
set( the_default_data_prefix ${CMAKE_INSTALL_PREFIX} )
|
||||
if( ${DEVELOPER_MODE} )
|
||||
ecbuild_info("DEVELOPER_MODE is defined")
|
||||
set( the_default_data_prefix ${CMAKE_BINARY_DIR} )
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue