From 191cad6858ae2ae225f02fc5c087239c4b8dc1c9 Mon Sep 17 00:00:00 2001 From: Sees Date: Fri, 17 May 2024 16:15:22 +0300 Subject: [PATCH] fix problem with cmake build --- CMakeLists.txt | 3 ++- sm/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 32297b8f..0ecaf58f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required(VERSION 2.4) -cmake_policy(SET CMP0004 OLD) +project(csm) +# cmake_policy(SET CMP0004 OLD) SET(local_prefix "local_config/local-") FIND_PROGRAM(HOSTNAME hostname PATHS $ENV{PATH}) IF(HOSTNAME) diff --git a/sm/CMakeLists.txt b/sm/CMakeLists.txt index 263d7ce7..d91f8d61 100644 --- a/sm/CMakeLists.txt +++ b/sm/CMakeLists.txt @@ -1,4 +1,4 @@ -PROJECT (CSM C CXX) +PROJECT (CSM_lib C CXX) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/lib)