Use CMAKE_CURRENT_SOURCE_DIR for modules
This makes it possible to add cAudio from another CMakeLists.txt
This commit is contained in:
parent
a95d308142
commit
46406e25c7
|
@ -11,9 +11,9 @@ project(cAudio)
|
||||||
|
|
||||||
# Include necessary submodules
|
# Include necessary submodules
|
||||||
set(CMAKE_MODULE_PATH
|
set(CMAKE_MODULE_PATH
|
||||||
"${CMAKE_SOURCE_DIR}/CMake"
|
"${CMAKE_CURRENT_SOURCE_DIR}/CMake"
|
||||||
"${CMAKE_SOURCE_DIR}/CMake/Utils"
|
"${CMAKE_CURRENT_SOURCE_DIR}/CMake/Utils"
|
||||||
"${CMAKE_SOURCE_DIR}/CMake/Packages"
|
"${CMAKE_CURRENT_SOURCE_DIR}/CMake/Packages"
|
||||||
)
|
)
|
||||||
|
|
||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
|
|
Loading…
Reference in New Issue