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)
|
target_compile_definitions(CSE2 PRIVATE FIX_BUGS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(CheckIncludeFile)
|
if (EXISTS "/opt/vc/include/bcm_host.h") # Detect Raspberry Pi
|
||||||
CHECK_INCLUDE_FILE(/opt/vc/include/bcm_host.h RASPBERRY_PI)
|
|
||||||
if (RASPBERRY_PI)
|
|
||||||
target_compile_definitions(CSE2 PRIVATE RASPBERRY_PI)
|
target_compile_definitions(CSE2 PRIVATE RASPBERRY_PI)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue