Skip to content

Commit

Permalink
feat: add lookup dirs setting [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Mar 17, 2024
1 parent 75ea99d commit c4c8cc7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(
VERSION 2.0.0)

# --------------------------------------------------------------------------------------------------------
# Library options
# Library switches
# --------------------------------------------------------------------------------------------------------

option(VIENNAPS_USE_DOUBLE "Use double precision floating point numbers in application" OFF)
Expand All @@ -15,6 +15,17 @@ option(VIENNAPS_BUILD_PYTHON "Build python bindings" OFF)
option(VIENNAPS_BUILD_EXAMPLES "Build examples" OFF)
option(VIENNAPS_BUILD_TESTS "Build tests" OFF)

# --------------------------------------------------------------------------------------------------------
# Library options
# --------------------------------------------------------------------------------------------------------

set(VIENNAPS_LOOKUP_DIRS
""
CACHE STRING
"Directories to account for when searching installed dependencies (e.g. ViennaLS, ...)")

list(APPEND CMAKE_PREFIX_PATH ${VIENNAPS_LOOKUP_DIRS})

# --------------------------------------------------------------------------------------------------------
# Global CMake Configuration
# └ We depend on the vtk python package for our python build and re-use
Expand Down

0 comments on commit c4c8cc7

Please sign in to comment.