cmake_minimum_required(VERSION 3.4)
include(version.cmake)
include("standard/Standard.cmake")
standard_project(LeapIPC VERSION ${LeapIPC_VERSION})

include(CTest)
include(CheckTypeSize)

set_property(GLOBAL PROPERTY USE_FOLDERS ON)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake-modules")
include(AddPCH)
include(ConditionalSources)

# All typically required packages
find_package(autowiring 1.0.5 REQUIRED)
find_package(leapserial 0.5.1 REQUIRED)

# We have unit test projects via googletest, they're added in the places where they are defined
enable_testing()

# Recurse through source directories
include_directories(contrib)
add_subdirectory(contrib)
add_subdirectory(src)

# Now we can generate the version and install stuff
generate_version()
combined_installer(
  VENDOR "Leap Motion"
  CONTACT "cmercenary@gmail.com"
)

cmake_minimum_required(VERSION 3.4)
include(version.cmake)
include("standard/Standard.cmake")
standard_project(LeapIPC VERSION ${LeapIPC_VERSION})

include(CTest)
include(CheckTypeSize)

set_property(GLOBAL PROPERTY USE_FOLDERS ON)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake-modules")
include(AddPCH)
include(ConditionalSources)

# All typically required packages
find_package(autowiring 1.0.5 EXACT REQUIRED)
find_package(leapserial 0.5.1 EXACT REQUIRED)

# We have unit test projects via googletest, they're added in the places where they are defined
enable_testing()

# Recurse through source directories
include_directories(contrib)
add_subdirectory(contrib)
add_subdirectory(src)

# Now we can generate the version and install stuff
generate_version()
combined_installer(
  VENDOR "Leap Motion"
  CONTACT "cmercenary@gmail.com"
)

Use EXACT keyword to reduce test possibilities
Use EXACT keyword to reduce test possibilities
