Merge pull request #76 from realm/mar/fix-building-tests-in-xcode

Fix building tests in Xcode
This commit is contained in:
Mark Rowe 2016-06-01 11:40:14 -07:00
commit fc63c4f67b
2 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,6 @@ target_include_directories(realm-object-store-static PUBLIC ${INCLUDE_DIRS})
target_link_libraries(realm-object-store-static PUBLIC realm ${CF_LIBRARY}) target_link_libraries(realm-object-store-static PUBLIC realm ${CF_LIBRARY})
# A dynamic library, linking together the prebuilt object files. # A dynamic library, linking together the prebuilt object files.
add_library(realm-object-store SHARED $<TARGET_OBJECTS:realm-object-store-objects>) add_library(realm-object-store SHARED $<TARGET_OBJECTS:realm-object-store-objects> placeholder.cpp)
target_include_directories(realm-object-store PUBLIC ${INCLUDE_DIRS}) target_include_directories(realm-object-store PUBLIC ${INCLUDE_DIRS})
target_link_libraries(realm-object-store PRIVATE realm ${CF_LIBRARY}) target_link_libraries(realm-object-store PRIVATE realm ${CF_LIBRARY})

1
src/placeholder.cpp Normal file
View File

@ -0,0 +1 @@
// This file is intentionally left blank.