Created
December 31, 2020 16:35
-
-
Save mcrosson/09e103b09d6caaa66962b3705fc9dd26 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2020 The ZMK Contributors | |
# SPDX-License-Identifier: MIT | |
target_include_directories(app boards/shields/pockettype) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Adding zmk-config shields directory | |
CMake Error at /workspaces/zmk-config/keyboards/zmk-config/config/CMakeLists.txt:4 (target_include_directories): | |
Cannot specify include directories for target "app" which is not built by | |
this project. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (ZMK_CONFIG) | |
set(ENV{ZMK_CONFIG} "${ZMK_CONFIG}") | |
if(EXISTS ${ZMK_CONFIG}/boards) | |
message(STATUS "Adding ZMK config directory as board root: ${ZMK_CONFIG}") | |
list(APPEND BOARD_ROOT ${ZMK_CONFIG}) | |
endif() | |
if(EXISTS ${ZMK_CONFIG}/dts) | |
message(STATUS "Adding ZMK config directory as DTS root: ${ZMK_CONFIG}") | |
list(APPEND DTS_ROOT ${ZMK_CONFIG}) | |
endif() | |
if(EXISTS ${ZMK_CONFIG}/CMakeLists.txt) | |
message(STATUS "Adding zmk-config shields directory") | |
add_subdirectory(${ZMK_CONFIG} ${CMAKE_BINARY_DIR}/zmk_config) | |
endif() | |
endif() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment