mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-27 07:31:35 +00:00
INTERFACE_O should be a cached CMake variable
This commit is contained in:
parent
dad26c5f3a
commit
853031fa31
@ -25,7 +25,9 @@ cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
|
||||
find_program(CONVERT_OBJ ConvertObj PATH "${CMAKE_INSTALL_PREFIX}/../bin/")
|
||||
add_custom_command(
|
||||
|
||||
set(INTERFACE_O InterfaceO_NOTFOUND CACHE STRING "path to MPW Interface.o file")
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Interface.s
|
||||
COMMAND ${CONVERT_OBJ} ${INTERFACE_O} > ${CMAKE_CURRENT_BINARY_DIR}/Interface.s
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user