diff --git a/rcljava/CMakeLists.txt b/rcljava/CMakeLists.txt index a6b4211f..c572de84 100644 --- a/rcljava/CMakeLists.txt +++ b/rcljava/CMakeLists.txt @@ -34,8 +34,6 @@ if(NOT WIN32) add_compile_options(-Wall -Wextra -Wpedantic) endif() -set(CMAKE_JAVA_COMPILE_FLAGS "-source" "1.6" "-target" "1.6") - include_directories(include) function(set_properties _target_name _build_type) diff --git a/rcljava_common/CMakeLists.txt b/rcljava_common/CMakeLists.txt index 3bc04fde..9dd46203 100644 --- a/rcljava_common/CMakeLists.txt +++ b/rcljava_common/CMakeLists.txt @@ -30,8 +30,6 @@ if(NOT WIN32) add_compile_options(-Wall -Wextra -Wpedantic) endif() -set(CMAKE_JAVA_COMPILE_FLAGS "-source" "1.6" "-target" "1.6") - set(${PROJECT_NAME}_java_sources "src/main/java/org/ros2/rcljava/common/JNIUtils.java" "src/main/java/org/ros2/rcljava/exceptions/RCLException.java"