Skip to content

Commit

Permalink
feat(layout): support non-windows compliation
Browse files Browse the repository at this point in the history
  • Loading branch information
ilikethese committed Jun 21, 2023
1 parent 797b5bb commit 697514f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ MESSAGE("Using CXX Compiler: " ${CMAKE_CXX_COMPILER})

ADD_COMPILE_OPTIONS(-std=c++11)

if("${CMAKE_SYSTEM_NAME}" NOT STREQUAL "Windows")
IF(NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
ADD_COMPILE_OPTIONS(-Werror -Wextra -Wall -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers)
ADD_COMPILE_OPTIONS(-fno-rtti -fno-threadsafe-statics)
ADD_COMPILE_OPTIONS(-fvisibility-inlines-hidden -fvisibility=hidden)
Expand All @@ -32,7 +32,7 @@ if("${CMAKE_SYSTEM_NAME}" NOT STREQUAL "Windows")
ADD_COMPILE_OPTIONS(-pipe)
ADD_COMPILE_OPTIONS(-Os)
ADD_COMPILE_OPTIONS(-g)
endif()
ENDIF()

FILE(GLOB TAITANK_SROURCE_FILES src/*.cc)
MESSAGE("BUILD FILES: ${TAITANK_SROURCE_FILES}")
Expand Down

0 comments on commit 697514f

Please sign in to comment.