Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Commit

Permalink
test: fix host build when not cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
forGGe committed Jun 30, 2018
1 parent 9d67ea9 commit 25f4ed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if(NOT DEFINED THECORE_TARGET_CONFIG_FILE AND NOT CMAKE_CROSSCOMPILING)

## TODO: change it to work with new configurator
file(WRITE ${CORE_GEN_DIR}/test.json
"{\"platform\":{\"name\":\"host\",\"console\":true}}"
"{\"menu-platform\": {\"config-name\": \"Host\", \"menu-host\": {\"config-console\": 1}}}"
)
set(THECORE_TARGET_CONFIG_FILE "${CORE_GEN_DIR}/test.json"
CACHE PATH "Test JSON file")
Expand Down Expand Up @@ -139,4 +139,4 @@ add_subdirectory(lib)
add_subdirectory(dev)
add_subdirectory(kernel)
add_dependencies(all_cppcheck ${PROJECT_NAME})
add_dependencies(${PROJECT_NAME} thecore_validate)
add_dependencies(${PROJECT_NAME} thecore_validate)

0 comments on commit 25f4ed5

Please sign in to comment.