Skip to content

Commit

Permalink
fix: re-enable C/C++ languages in CMake (#1942)
Browse files Browse the repository at this point in the history
  • Loading branch information
iTrooz authored Oct 24, 2024
1 parent 3739bcc commit 592f613
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/build_helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 592f613

Please sign in to comment.