Compare commits

..

No commits in common. "e9ceb0c953292fceed35f0bb45bf05f979876707" and "158e406f7cfd9e0d9f301ebbf187f07f5871f483" have entirely different histories.

1 changed files with 2 additions and 9 deletions

View File

@ -1,20 +1,13 @@
cmake_minimum_required(VERSION 3.24) # cmake_minimum_required(VERSION 3.25)
project(sim_econ_model) project(sim_econ_model)
include_directories(include/) include_directories(include/)
set(CMAKE_CXX_COMPILER /usr/bin/g++)
# if (APPLE)
# set(CMAKE_CXX_COMPILER /usr/bin/clang++)
# set(COMPILE_FLAGS "-Wl -export_dynamic")
# else(LINUX)
# set(CMAKE_CXX_COMPILER /usr/bin/g++)
# endif()
find_package(SWIG 4.0 REQUIRED COMPONENTS python) find_package(SWIG 4.0 REQUIRED COMPONENTS python)
include(UseSWIG) include(UseSWIG)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${CMAKE_CURRENT_SOURCE_DIR})
# find_package(PythonLibs 3.10 EXACT REQUIRED)
find_package(PythonLibs) find_package(PythonLibs)
include_directories(${PYTHON_INCLUDE_PATH}) include_directories(${PYTHON_INCLUDE_PATH})