Skip to content

Commit

Permalink
Make CMakeLists Files More Consistent
Browse files Browse the repository at this point in the history
Fixes #25
  • Loading branch information
iguessthislldo committed Oct 8, 2021
1 parent 5b458e9 commit 6498ba9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pyopendds/dev/itl2py/templates/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# NOTE: This CMake files should not be built on it's own. It's meant to be
# NOTE: This CMake files should not be built on its own. It's meant to be
# built as part of the Python package.
cmake_minimum_required(VERSION 3.12)
project({{ native_package_name }} CXX)
Expand Down
7 changes: 4 additions & 3 deletions tests/basic_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.12)
project(PyOpenDDS_Test CXX)

project(PyOpenDDS_Test)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

list(APPEND CMAKE_MODULE_PATH "$ENV{DDS_ROOT}/cmake")
find_package(OpenDDS REQUIRED)

add_library(basic_idl SHARED)
Expand Down
6 changes: 2 additions & 4 deletions tests/itl2py_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.12)
project(pyopendds_itl2py_test CXX)

project(pyopendds_itl2py_test)

list(APPEND CMAKE_MODULE_PATH "$ENV{DDS_ROOT}/cmake")
find_package(OpenDDS REQUIRED)

add_library(itl2py_test_idl SHARED)
Expand Down

0 comments on commit 6498ba9

Please sign in to comment.