Skip to content

Commit

Permalink
Make JUCE_DIR based on current source not based on source dir (#6844)
Browse files Browse the repository at this point in the history
Solves the submodule .. problem
  • Loading branch information
baconpaul authored Feb 10, 2023
1 parent 60aa423 commit aa66b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (NOT SURGE_COMPILE_BLOCK_SIZE)
set(SURGE_COMPILE_BLOCK_SIZE 32)
endif()

set(SURGE_JUCE_PATH "${CMAKE_SOURCE_DIR}/libs/JUCE" CACHE STRING "Path to JUCE library source tree")
set(SURGE_JUCE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../libs/JUCE" CACHE STRING "Path to JUCE library source tree")

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(cmake/lib.cmake)
Expand Down

0 comments on commit aa66b29

Please sign in to comment.