Skip to content

Commit b8b4b95

Browse files
committed
Allow in-tree-builds again
1 parent a5c66f1 commit b8b4b95

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

CMakeLists.txt

+2-7
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ endif()
1111
# add the liblsl build directory
1212
add_subdirectory(LSL/liblsl)
1313

14-
# Most apps have common requirements: find Boost / Qt, create an installation
15-
# target, etc. The LSLCMake helper module contains sensible settings and
16-
# functions to make the app developer life easier.
17-
# LSLCMake was already included in LSL/liblsl, but we include it again so the
18-
# variables are in this scope (instead of just the LSL/liblsl scope)
19-
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/LSL/liblsl/cmake")
20-
include(LSLCMake)
14+
# find liblsl in the current build dir
15+
set(LSL_INSTALL_ROOT "${CMAKE_BINARY_DIR}/LSL/liblsl")
2116

2217
# include the Apps directory which defines options, which Apps will be built
2318
# and includes their build configurations

0 commit comments

Comments
 (0)