Skip to content

Commit 1624847

Browse files
authored
Add enable_language to cmake call so cmake_utils could be found (#54)
Signed-off-by: jparisu <javierparis@eprosima.com>
1 parent 3d69d93 commit 1624847

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

cpp_utils/CMakeLists.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,8 @@
1717
###############################################################################
1818
cmake_minimum_required(VERSION 3.5)
1919

20-
# TODO this should not be done as it is not portable to other architectures
21-
# However, this is required as this variable is not set until project() is called.
22-
# In the future configure_project() must change to be called after project() and we must refactor
23-
# the repositories using cmake_utils so they call project() BEFORE find_package().
24-
# Thus this is work for future annapurna team.
25-
if (NOT CMAKE_SIZEOF_VOID_P)
26-
set(CMAKE_SIZEOF_VOID_P 8)
27-
endif()
20+
# Done this to set machine architecture and be able to call cmake_utils
21+
enable_language(CXX)
2822

2923
###############################################################################
3024
# Find package cmake_utils

0 commit comments

Comments
 (0)