Skip to content

Commit

Permalink
Moving embind dependency to the library CMake target
Browse files Browse the repository at this point in the history
  • Loading branch information
gershnik committed Mar 18, 2023
1 parent a68fdd1 commit 5415b74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ target_compile_options(${LIBNAME} PRIVATE
target_link_libraries(${LIBNAME} PUBLIC
"$<$<PLATFORM_ID:Darwin>:-framework CoreFoundation>"
"$<$<PLATFORM_ID:Windows>:runtimeobject.lib>"
"$<$<PLATFORM_ID:Emscripten>:embind>"
)

target_compile_definitions(${LIBNAME} PUBLIC
Expand Down
3 changes: 1 addition & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ foreach(STORAGE_SUFFIX ${STORAGE_TYPES})

sys_string${STANDARD_SUFFIX}

"$<$<PLATFORM_ID:Android>:log>"
"$<$<PLATFORM_ID:Emscripten>:embind>"
"$<$<PLATFORM_ID:Android>:log>"
)

if (SYS_STRING_TEST_SHARED)
Expand Down

0 comments on commit 5415b74

Please sign in to comment.