Skip to content

Commit 3e2d111

Browse files
committed
chore(cmake): make re-ue4ss profilers proper cmake arg
1 parent a82616a commit 3e2d111

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ include(ProjectConfig) # For centralized project configuration
2424
include(VersionChecks) # For compiler and tool version checking
2525
include(ArchitectureDetection) # For CPU architecture and feature detection
2626

27+
# Profilers option
28+
option(UE4SS_PROFILERS "Enable UE4SS profiling features" OFF)
29+
if(UE4SS_PROFILERS)
30+
add_compile_definitions(UE4SS_PROFILERS)
31+
endif()
32+
2733
# Check IPO/LTO support
2834
check_ipo_supported(RESULT IPO_SUPPORTED OUTPUT IPO_ERROR)
2935
message("IPO/LTO support: ${IPO_SUPPORTED}; ${IPO_ERROR}")

0 commit comments

Comments
 (0)