Skip to content

Commit 504306d

Browse files
committed
CMake: generate rfbconfig.h in CMAKE_CURRENT_BINARY_DIR
This helps including the repo as a submodule in other CMake-based projects.
1 parent 8af4c3b commit 504306d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ endif(WITH_SASL AND LIBSASL2_LIBRARIES AND SASL2_INCLUDE_DIR)
311311
# LIBVNCSERVER_ENOENT_WORKAROUND
312312
# inline
313313

314-
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/rfb/rfbconfig.h.cmakein ${CMAKE_BINARY_DIR}/rfb/rfbconfig.h)
314+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/rfb/rfbconfig.h.cmakein ${CMAKE_CURRENT_BINARY_DIR}/rfb/rfbconfig.h)
315315

316316
set(LIBVNCSERVER_SOURCES
317317
${LIBVNCSERVER_DIR}/main.c

0 commit comments

Comments
 (0)