mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-05 12:03:57 +00:00
Update CMakeLists.txt
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
This commit is contained in:
parent
2ce966b3a8
commit
dcf39b6ae9
@ -142,16 +142,9 @@ target_link_directories(DirectX5::DirectX5 INTERFACE "${CMAKE_SOURCE_DIR}/3rdpar
|
||||
add_library(Vec::Vec INTERFACE IMPORTED)
|
||||
target_include_directories(Vec::Vec INTERFACE "${CMAKE_SOURCE_DIR}/3rdparty/vec")
|
||||
|
||||
if (EMSCRIPTEN)
|
||||
add_library(lego1 STATIC
|
||||
LEGO1/main.cpp
|
||||
)
|
||||
else()
|
||||
add_library(lego1 SHARED
|
||||
LEGO1/main.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(lego1
|
||||
LEGO1/main.cpp
|
||||
)
|
||||
target_precompile_headers(lego1 PRIVATE "LEGO1/lego1_pch.h")
|
||||
set_property(TARGET lego1 PROPERTY DEFINE_SYMBOL "LEGO1_DLL")
|
||||
target_include_directories(lego1 PUBLIC "$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/util>")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user