Skip to content

Commit

Permalink
fix problem in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Aug 11, 2021
1 parent 8b4dd69 commit ae8ec89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cmake_minimum_required(VERSION 3.15)
# Set the project name to your project name
project(RF24Network C CXX)
include(${CMAKE_CURRENT_LIST_DIR}/cmake/StandardProjectSettings.cmake)
if(not "${CMAKE_CURRENT_LIST_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
if(NOT "${CMAKE_CURRENT_LIST_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
# python wrapper builds in source, but not in submodules' source
include(${CMAKE_CURRENT_LIST_DIR}/cmake/PreventInSourceBuilds.cmake)
endif()
Expand Down
2 changes: 1 addition & 1 deletion cmake/GetLibInfo.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# get lib info from the maintained library.properties required by the Arduino IDE
file(STRINGS ${CMAKE_CURRENT_LIST_DIR}/library.properties LibInfo)
file(STRINGS ${CMAKE_CURRENT_LIST_DIR}/../library.properties LibInfo)
foreach(line ${LibInfo})
string(FIND ${line} "=" label_delimiter)
if(${label_delimiter} GREATER 0)
Expand Down

0 comments on commit ae8ec89

Please sign in to comment.