Skip to content

Commit

Permalink
Merge pull request YosysHQ#114 from mithro/master
Browse files Browse the repository at this point in the history
cmake: Don't clobber existing CMAKE_CXX_FLAGS values.
  • Loading branch information
gatecat committed Jan 6, 2020
2 parents d8c5e9d + c29f6bd commit e43f545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libtrellis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ option(STATIC_BUILD "Create static build of Trellis tools" OFF)

set(CMAKE_CXX_STANDARD 14)
if (MSVC)
set(CMAKE_CXX_FLAGS "-bigobj -EHsc")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -bigobj -EHsc")
else()
set(CMAKE_CXX_FLAGS "-Wall -pedantic -Wextra -O3")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -O3")
endif()
set(CMAKE_DEFIN)
set(link_param "")
Expand Down

0 comments on commit e43f545

Please sign in to comment.