1
0
mirror of synced 2024-11-27 17:10:51 +01:00

fix: re-enable C/C++ languages in CMake (#1942)

This commit is contained in:
iTrooz 2024-10-24 08:14:07 +02:00 committed by GitHub
parent 3739bcc40c
commit 592f613a61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -307,6 +307,9 @@ endfunction()
macro(configureCMake)
message(STATUS "Configuring ImHex v${IMHEX_VERSION}")
# Enable C and C++ languages
enable_language(C CXX)
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "Enable position independent code for all targets" FORCE)
# Configure use of recommended build tools