diff --git a/src/xpdev/CMakeLists.txt b/src/xpdev/CMakeLists.txt index 335d83029afba6a782223e574fdbc4fbf973562e..cf89d12f4420a44e51057b8bafa68791222fe345 100644 --- a/src/xpdev/CMakeLists.txt +++ b/src/xpdev/CMakeLists.txt @@ -124,7 +124,7 @@ if(HAS_DEV_MACHINE_SPKR_H) endif() if (CMAKE_SYSTEM_NAME STREQUAL "Linux") - target_compile_definitions(xpdevplus PUBLIC POSIX_C_SOURCE=200809L _DEFAULT_SOURCE _BSD_SOURCE SPEED_MACROS_ONLY _GNU_SOURCE _FILE_OFFSET_BITS=64) + target_compile_definitions(xpdev PUBLIC POSIX_C_SOURCE=200809L _DEFAULT_SOURCE _BSD_SOURCE SPEED_MACROS_ONLY _GNU_SOURCE _FILE_OFFSET_BITS=64) endif() if(WIN32)