From ece6921bb6de4b9121fe775e34d7715e8b160aa8 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 23 Oct 2015 10:18:09 +0300 Subject: [PATCH] compilation on Linux --- src/HYDRO_tests/CMakeLists.txt | 2 +- src/shapelib/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HYDRO_tests/CMakeLists.txt b/src/HYDRO_tests/CMakeLists.txt index 14b5b4dc..167285a9 100644 --- a/src/HYDRO_tests/CMakeLists.txt +++ b/src/HYDRO_tests/CMakeLists.txt @@ -88,7 +88,7 @@ SET( GEOM_LIBRARIES CurveCreator ) include_directories( ${BOOST_INCLUDES} - ${CAS_INCLUDE_DIRS} + ${CAS_INCLUDES} ${QT_INCLUDES} ${CPPUNIT_INCLUDES} ${GUI_INCLUDES} diff --git a/src/shapelib/CMakeLists.txt b/src/shapelib/CMakeLists.txt index 94f8952d..2c5cf258 100644 --- a/src/shapelib/CMakeLists.txt +++ b/src/shapelib/CMakeLists.txt @@ -13,7 +13,7 @@ set(PROJECT_SOURCES ) add_definitions( - -DSHAPELIB_DLLEXPORT + -DSHAPELIB_DLLEXPORT -fPIC ) include_directories( -- 2.39.2