Merge lp:~sjr/kicad/buildsys into lp:kicad/product
Proposed by
Simon Richter
Status: | Merged |
---|---|
Merged at revision: | 5642 |
Proposed branch: | lp:~sjr/kicad/buildsys |
Merge into: | lp:kicad/product |
Diff against target: |
26 lines (+5/-4) 1 file modified
CMakeLists.txt (+5/-4) |
To merge this branch: | bzr merge lp:~sjr/kicad/buildsys |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Wayne Stambaugh | Approve | ||
Review via email: mp+258087@code.launchpad.net |
Description of the change
Buildsystem fix, allowing gcc to be recognized during the first build (i.e. when no cache file exists). Without this patch, the entire gcc specific section in CMakeLists is skipped.
To post a comment you must log in.
Please clarify which "entire gcc specific section in CMakeLists" you talking about. I just did some quick testing and the
if( CMAKE_COMPILER_ IS_GNUCXX OR CMAKE_CXX_ COMPILER_ ID MATCHES "Clang" )
endif()
section in the main CMakeLists.txt gets executed without this change.