Fixed buggy logic for cosmotool target to use while building python module
This commit is contained in:
parent
622c575265
commit
90c9d70d6e
@ -22,11 +22,11 @@ option(INTERNAL_HDF5 "Build internal version of HDF5" OFF)
|
|||||||
option(INTERNAL_NETCDF "Build internal version of NETCDF" OFF)
|
option(INTERNAL_NETCDF "Build internal version of NETCDF" OFF)
|
||||||
option(INTERNAL_BOOST "Build internal version of BOOST" OFF)
|
option(INTERNAL_BOOST "Build internal version of BOOST" OFF)
|
||||||
|
|
||||||
IF(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
|
#IF(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
|
||||||
SET(CosmoTool_local CosmoTool_static)
|
# SET(CosmoTool_local CosmoTool_static)
|
||||||
ELSE(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
|
#ELSE(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
|
||||||
SET(CosmoTool_local CosmoTool)
|
SET(CosmoTool_local CosmoTool)
|
||||||
ENDIF(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
|
#ENDIF(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
|
||||||
|
|
||||||
MESSAGE(STATUS "Using the target ${CosmoTool_local} to build python module")
|
MESSAGE(STATUS "Using the target ${CosmoTool_local} to build python module")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user