mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-13 07:45:39 +00:00
fix(macosCmake): Prepend .mm files in order to override cpp implementation
This commit is contained in:
parent
0525490619
commit
4119528eb2
3
vendor/DOtherSide/lib/CMakeLists.txt
vendored
3
vendor/DOtherSide/lib/CMakeLists.txt
vendored
@ -20,7 +20,8 @@ macro(add_target name type)
|
||||
|
||||
if(APPLE)
|
||||
file(GLOB MM_FILES src/*.mm src/Status/*.mm)
|
||||
list(APPEND SOURCES ${MM_FILES})
|
||||
#prepend items because .mm files need build priority to override cpp impl
|
||||
list(INSERT SOURCES 0 ${MM_FILES})
|
||||
endif()
|
||||
|
||||
add_library(${name} ${type} ${SOURCES} ${HEADERS} ${MONITORING_SOURCES} ${MONITORING_HEADERS})
|
||||
|
Loading…
x
Reference in New Issue
Block a user