File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,15 @@ else()
7272 if (LSL_INSTALL_ROOT)
7373 list (APPEND _lsl_hints "${LSL_INSTALL_ROOT} " )
7474 endif ()
75- # Common development layout hints
75+ # Common development layout hints (including CLion cmake-build-* directories)
7676 string (TOLOWER "${CMAKE_BUILD_TYPE} " _build_type_lower)
77+ if (MSVC )
78+ set (_clion_build_dir "cmake-build-${_build_type_lower} -visual-studio" )
79+ else ()
80+ set (_clion_build_dir "cmake-build-${_build_type_lower} " )
81+ endif ()
7782 foreach (_root IN ITEMS "../liblsl" "../../LSL/liblsl" )
78- foreach (_build IN ITEMS "build" "cmake-build- ${_build_type_lower } " )
83+ foreach (_build IN ITEMS "build" "${_clion_build_dir } " )
7984 list (APPEND _lsl_hints "${CMAKE_CURRENT_LIST_DIR} /${_root} /${_build} /install" )
8085 endforeach ()
8186 endforeach ()
You can’t perform that action at this time.
0 commit comments