(1) requires a symbolic link between libturbojpeg.so.0 to
libturbojpeg.so (within the search path)
(2) Switched ${X11_X11_LIB} to ${X11_LIBRARIES}
(3) Moved project definition to top of the file;
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 2.8)
option(VOGLTRACE_NO_PUBLIC_EXPORTS "Don't define any public GL exports in libvogltraceXX.so, this .so will only be useful for manual loading" FALSE)
option(VOGLTRACE_NO_PUBLIC_EXPORTS "Don't define any public GL exports in libvogltraceXX.so, this .so will only be useful for manual loading" FALSE)
endif ()
find_package(X11 REQUIRED)
endif ()
find_package(X11 REQUIRED)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_compiler_flag("-DVOGL_REMOTING")
set(SRC_LIST
add_compiler_flag("-DVOGL_REMOTING")
set(SRC_LIST
voglcore
${CMAKE_THREAD_LIBS_INIT}
${CMAKE_DL_LIBS}
voglcore
${CMAKE_THREAD_LIBS_INIT}
${CMAKE_DL_LIBS}
- ${X11_X11_LIB}
- libturbojpeg.a
)
build_options_finalize()
)
build_options_finalize()