Skip to content

Commit b5a7b0a

Browse files
Enable CMAKE_ENABLE_EXPORTS
1 parent cb550bb commit b5a7b0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,9 @@ if(CLR_CMAKE_PLATFORM_XPLAT)
379379
# prevent the required interface is being exported
380380
# clang by default sets fvisibility=default
381381

382+
# Allow ch to export `OnChakraCoreLoadedEntry`
383+
set(CMAKE_ENABLE_EXPORTS ON)
384+
382385
# CXX WARNING FLAGS
383386
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
384387
-Wno-ignored-attributes\

0 commit comments

Comments
 (0)