Skip to content

Commit

Permalink
Tpl: Fix CMAKE_PREFIX_PATH setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Hirsch authored and W4RH4WK committed Dec 1, 2016
1 parent b9c7a61 commit b63aab3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/setup/cmake.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ cmake_minimum_required(VERSION 3.6)
project(%PROJECT% VERSION 0.0.0 LANGUAGES C CXX)

# -- Module Path
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

# -- Prefix Path
file(GLOB prefix_paths ${CMAKE_CURRENT_SOURCE_DIR}/libs/*)
file(GLOB prefix_paths ${PROJECT_SOURCE_DIR}/libs/*)
list(APPEND CMAKE_PREFIX_PATH ${prefix_paths})

# -- Extends
#add_subdirectory(insieme)
Expand Down

0 comments on commit b63aab3

Please sign in to comment.