master
txt 17 lines 556 Bytes
Raw
1 set(SOURCES
2 DllMain.cpp
3 version.rc)
4
5 add_library(wslinstall SHARED ${SOURCES} wslinstall.def)
6
7 target_include_directories(wslinstall PUBLIC ${CMAKE_CURRENT_LIST_DIR})
8 set_target_properties(wslinstall PROPERTIES FOLDER windows)
9 target_precompile_headers(wslinstall REUSE_FROM common)
10
11 target_link_libraries(wslinstall
12 ${COMMON_LINK_LIBRARIES}
13 ${MSI_LINK_LIBRARIES}
14 common
15 legacy_stdio_definitions
16 Crypt32.lib
17 sfc.lib)