Explorar o código

Enable `CMAKE_ENABLE_EXPORTS`

Lukas Kurz hai 5 meses
pai
achega
775f541950
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      CMakeLists.txt

+ 3 - 0
CMakeLists.txt

@@ -379,6 +379,9 @@ if(CLR_CMAKE_PLATFORM_XPLAT)
     # prevent the required interface is being exported
     # clang by default sets fvisibility=default
 
+    # Allow ch to export `OnChakraCoreLoadedEntry`
+    set(CMAKE_ENABLE_EXPORTS ON)
+
     # CXX WARNING FLAGS
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
         -Wno-ignored-attributes\