Skip to content

Commit

Permalink
another try at not having postfix in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Oct 23, 2023
1 parent 8954dc0 commit 4fcc0de
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,18 @@ if (WITH_EXPAT)
if (WITH_STATIC_RUNTIME)
#expat is overriding this
set(EXPAT_MSVC_STATIC_CRT ON CACHE BOOL "Use /MT flag (static CRT) when compiling in MSVC" FORCE)
set(CMAKE_RELEASE_POSTFIX "" CACHE STRING "Force empty postfix" FORCE)
endif()

add_subdirectory(expat/expat)

# expat is still overrriding these, so lets force them back to empty
set_target_properties(expat PROPERTIES
DEBUG_POSTFIX ""
RELEASE_POSTFIX ""
MINSIZEREL_POSTFIX ""
RELWITHDEBINFO_POSTFIX ""
)

endif()


Expand Down

0 comments on commit 4fcc0de

Please sign in to comment.