mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-11 20:16:47 +00:00
fix(macosCmake): Prepend .mm files in order to override cpp implementation
This commit is contained in:
parent
06a00bc8c3
commit
c65fd86229
@ -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