Do the last commit except less stupid
This commit is contained in:
parent
eb11c7798d
commit
5a3e641492
1 changed files with 1 additions and 3 deletions
|
@ -233,9 +233,7 @@ if (FIX_BUGS)
|
|||
target_compile_definitions(CSE2 PRIVATE FIX_BUGS)
|
||||
endif()
|
||||
|
||||
include(CheckIncludeFile)
|
||||
CHECK_INCLUDE_FILE(/opt/vc/include/bcm_host.h RASPBERRY_PI)
|
||||
if (RASPBERRY_PI)
|
||||
if (EXISTS "/opt/vc/include/bcm_host.h") # Detect Raspberry Pi
|
||||
target_compile_definitions(CSE2 PRIVATE RASPBERRY_PI)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue