Skip to content

Commit

Permalink
changed how current directory is addressed: CMAKE_CURRENT_SOURCE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
ponchio committed Aug 23, 2023
1 parent db60c82 commit ccc35b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ project(relight)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_FIND_FRAMEWORK LAST)
list(APPEND CMAKE_MODULE_PATH "./")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}")

message(CMAKE_MODULE_PATH="${CMAKE_MODULE_PATH}")

option(USE_QT_5 "Set to use Qt5" ON)
option(MACOSX_MAKE_BUNDLE "If using macos, all targets will be placed in a relight macosx app bundle" ON)
Expand Down

0 comments on commit ccc35b0

Please sign in to comment.