Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Fix/install dirs for tests examples #213

Merged
merged 3 commits into from
Mar 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include(GNUInstallDirs)

function(setup_example example_directory)
set(EXAMPLE_NAME_BASE "${example_directory}")
file(GLOB EXAMPLE_SOURCE_FILES "${example_directory}/*.c")
Expand Down
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include(GNUInstallDirs)

if(MSVC)
add_definitions(-DPC_BLE_DRIVER_STATIC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
Expand Down