Skip to content

Commit 4700a3d

Browse files
committed
Adjust CMakeLists.txt
Remove invalid compile/link options: The Conan recipe check doesn't work due to invalid architecture options for macOS.
1 parent fadf5ae commit 4700a3d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ endif()
250250

251251
if (CMAKE_SYSTEM_NAME STREQUAL "Linux"
252252
OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
253-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.2 -maes")
254-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.2 -maes")
255253
set(SQLITE3MC_LINK_LIBRARIES
256254
pthread
257255
dl
@@ -267,10 +265,6 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "Android")
267265
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mvaes")
268266
endif()
269267
else()
270-
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
271-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.2 -maes")
272-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.2 -maes")
273-
endif()
274268
set(SHARED_LIB_EXPORT_DEFINITION "__declspec(dllexport)")
275269
endif()
276270

0 commit comments

Comments
 (0)