summaryrefslogtreecommitdiffstats
path: root/Help/guide/importing-exporting/Downstream/CMakeLists.txt
blob: 381c875110d8346927f25081b2f83cae3df25bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cmake_minimum_required(VERSION 3.15)
project(Downstream)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# find MathFunctions
find_package(MathFunctions 3.4.1 EXACT)

# create executable
add_executable(myexe main.cc)

# use MathFunctions library
target_link_libraries(myexe PRIVATE MathFunctions::MathFunctions)