Skip to content

Commit 7a40eb3

Browse files
committed
Move boost static libs option down to application.
1 parent f73fd9f commit 7a40eb3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ OPTION(PopSift_USE_POSITION_INDEPENDENT_CODE "Generate position independent code
1010
OPTION(PopSift_USE_GRID_FILTER "Switch off grid filtering to massively reduce compile time while debugging other things." ON)
1111
OPTION(PopSift_USE_NORMF "The __normf function computes Euclidian distance on large arrays. Fast but stability is uncertain." OFF)
1212
OPTION(PopSift_USE_TEST_CMD "Add testing step for functional verification" OFF)
13-
OPTION(PopSift_BOOST_USE_STATIC_LIBS "Link examples with static Boost libraries" OFF)
1413
OPTION(PopSift_NVCC_WARNINGS "Switch on several additional warning for CUDA nvcc" OFF)
1514

1615
if(PopSift_USE_POSITION_INDEPENDENT_CODE)

src/application/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 3.0)
22
project(PopsiftDemo LANGUAGES CXX)
33

4+
OPTION(PopSift_BOOST_USE_STATIC_LIBS "Link examples with static Boost libraries" OFF)
5+
46
if(TARGET popsift)
57
# when compiled in the repository the target is already defined
68
add_library(PopSift::popsift ALIAS popsift)

0 commit comments

Comments
 (0)