From 73d48720efcbe74ebe2027cfc974f8a653578b8b Mon Sep 17 00:00:00 2001 From: elsid Date: Sun, 30 Jun 2024 16:06:49 +0200 Subject: [PATCH] Do not change output names for targets Changing them does not solve any problem but only creates some. --- apps/opencs/CMakeLists.txt | 2 -- apps/openmw/CMakeLists.txt | 5 ----- 2 files changed, 7 deletions(-) diff --git a/apps/opencs/CMakeLists.txt b/apps/opencs/CMakeLists.txt index 8c50438291..bfcf70c020 100644 --- a/apps/opencs/CMakeLists.txt +++ b/apps/opencs/CMakeLists.txt @@ -180,8 +180,6 @@ add_library(openmw-cs-lib STATIC ${OPENCS_RES_SRC} ) -set_target_properties(openmw-cs-lib PROPERTIES OUTPUT_NAME openmw-cs) - if(BUILD_OPENCS) openmw_add_executable(openmw-cs MACOSX_BUNDLE diff --git a/apps/openmw/CMakeLists.txt b/apps/openmw/CMakeLists.txt index 60ea46ecff..c269eb8fc7 100644 --- a/apps/openmw/CMakeLists.txt +++ b/apps/openmw/CMakeLists.txt @@ -123,11 +123,6 @@ add_library(openmw-lib STATIC ${OPENMW_SOURCES} ) -# Otherwise linker fails with LNK1149 because main.cpp has __declspec(dllexport) -if(NOT WIN32) - set_target_properties(openmw-lib PROPERTIES OUTPUT_NAME openmw) -endif() - if(BUILD_OPENMW) if (ANDROID) add_library(openmw SHARED