Modify

Opened 4 years ago

Last modified 4 years ago

#15437 new defect

cmake.mk CMAKE_PREFIX_PATH should point to /usr subdirectory

Reported by: Henning Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

the cmake.mk include file adds $(STAGING_DIR) as the CMAKE_PREFIX_PATH so cmake builds can find libraries.

As you can see in http://www.cmake.org/cmake/help/v2.8.9/cmake.html#command:find_package the find_package() command of cmake searchs without in /lib subdirectory, but not within /usr/...

Because of this, CMAKE_PREFIX_PATH should point to $(STAGING_DIR)/usr.

Attachments (1)

cmake_staging.patch (543 bytes) - added by Henning 4 years ago.
Patch for Attitude Adjustment include/cmake.mk

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by Henning

Patch for Attitude Adjustment include/cmake.mk

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.