File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ include(ExternalProject)
88project (CCTag VERSION 1.0.0 LANGUAGES C CXX)
99
1010# Set build path as a folder named as the platform (linux, windows, darwin...) plus the processor type
11- set (EXECUTABLE_OUTPUT_PATH "${PROJECT_BINARY_DIR} /${CMAKE_SYSTEM_NAME} -${CMAKE_SYSTEM_PROCESSOR} " )
12- set (LIBRARY_OUTPUT_PATH "${PROJECT_BINARY_DIR} /${CMAKE_SYSTEM_NAME} -${CMAKE_SYSTEM_PROCESSOR} " )
11+ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR} /${CMAKE_SYSTEM_NAME} -${CMAKE_SYSTEM_PROCESSOR} " )
12+ set (CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR} /${CMAKE_SYSTEM_NAME} -${CMAKE_SYSTEM_PROCESSOR} " )
1313
1414include (GNUInstallDirs)
1515
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ if(NOT CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
33 cmake_minimum_required (VERSION 3.13)
44 project (CCTagApplications LANGUAGES CXX VERSION 1.0.0)
55 include (GNUInstallDirs)
6+ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR} /${CMAKE_SYSTEM_NAME} -${CMAKE_SYSTEM_PROCESSOR} " )
7+ set (CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR} /${CMAKE_SYSTEM_NAME} -${CMAKE_SYSTEM_PROCESSOR} " )
68endif ()
79
810# if this is used as a stand-alone project we need to tell whether to use PIC
You can’t perform that action at this time.
0 commit comments