CMakeLists.txt 571 B

12345678910111213141516171819
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. cmake_minimum_required(VERSION 3.20)
  9. PROJECT(test_OpenSSL VERSION 1.0 LANGUAGES C)
  10. find_package(OpenSSL)
  11. add_executable(test_OpenSSL test_OpenSSL.c)
  12. # note that we use 3rdParty::OpenSSL here. This will ONLY work
  13. # if the O3DE version of OpenSSL is used, which is what we are testing for.
  14. target_link_libraries(test_OpenSSL PRIVATE 3rdParty::OpenSSL)