From 90c9d70d6ef4795da8236e341954b3295b91b4cd Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Tue, 10 Feb 2015 14:00:55 +0100 Subject: [PATCH] Fixed buggy logic for cosmotool target to use while building python module --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1693040..6c36a26 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,11 +22,11 @@ option(INTERNAL_HDF5 "Build internal version of HDF5" OFF) option(INTERNAL_NETCDF "Build internal version of NETCDF" OFF) option(INTERNAL_BOOST "Build internal version of BOOST" OFF) -IF(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS) - SET(CosmoTool_local CosmoTool_static) -ELSE(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS) +#IF(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS) +# SET(CosmoTool_local CosmoTool_static) +#ELSE(NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS) 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")