Compare commits
2 Commits
158e406f7c
...
e9ceb0c953
Author | SHA1 | Date |
---|---|---|
michael | e9ceb0c953 | |
michael | e2573bc470 |
|
@ -1,13 +1,20 @@
|
|||
# cmake_minimum_required(VERSION 3.25)
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
project(sim_econ_model)
|
||||
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)
|
||||
include(UseSWIG)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
# find_package(PythonLibs 3.10 EXACT REQUIRED)
|
||||
find_package(PythonLibs)
|
||||
include_directories(${PYTHON_INCLUDE_PATH})
|
||||
|
||||
|
|
Loading…
Reference in New Issue