Skip to content

Commit 5deeaf6

Browse files
committedSep 21, 2022
Only set debugging cflags on UNIX
1 parent e314e84 commit 5deeaf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ else()
4545
find_package(PkgConfig)
4646
pkg_check_modules(LIBUSB REQUIRED libusb-1.0)
4747
message(STATUS " " ${LIBUSB_LIBRARY_DIRS})
48+
SET(CMAKE_C_FLAGS_DEBUG "-g -DUVC_DEBUGGING")
4849
endif()
4950

5051
include(GNUInstallDirs)
51-
SET(CMAKE_C_FLAGS_DEBUG "-g -DUVC_DEBUGGING")
5252

5353
# "Installation directory for CMake files")
5454
add_library(uvc SHARED)

0 commit comments

Comments
 (0)
Please sign in to comment.